Class IPObjectList.EmptyList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList
com.polarion.platform.persistence.model.IPObjectList.EmptyList
- All Implemented Interfaces:
IPObjectList
,Serializable
,Iterable
,Collection
,List
- Enclosing interface:
- IPObjectList<T extends IPObject>
public static class IPObjectList.EmptyList
extends AbstractList
implements IPObjectList, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.polarion.platform.persistence.model.IPObjectList
IPObjectList.EmptyList
-
Field Summary
Fields inherited from interface com.polarion.platform.persistence.model.IPObjectList
EMPTY_POBJECTLIST
-
Method Summary
Modifier and TypeMethodDescriptionboolean
get
(int index) void
resolve
(int first, int lenght) void
void
resolveFirst
(int n) int
size()
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subList
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArray
-
Method Details
-
size
public int size()- Specified by:
size
in interfaceCollection
- Specified by:
size
in interfaceList
- Specified by:
size
in classAbstractCollection
-
contains
- Specified by:
contains
in interfaceCollection
- Specified by:
contains
in interfaceList
- Overrides:
contains
in classAbstractCollection
-
get
- Specified by:
get
in interfaceList
- Specified by:
get
in classAbstractList
-
resolveAll
public void resolveAll()- Specified by:
resolveAll
in interfaceIPObjectList
-
resolveFirst
public void resolveFirst(int n) - Specified by:
resolveFirst
in interfaceIPObjectList
-
resolve
public void resolve(int first, int lenght) - Specified by:
resolve
in interfaceIPObjectList
-
getUrisList
- Specified by:
getUrisList
in interfaceIPObjectList
- Returns:
- The list of URIs of objects in this list. The list is modifiable, but not live.
-
getDataService
- Specified by:
getDataService
in interfaceIPObjectList
- Returns:
- The data service used by this list. Unmodifiable empty list might
return
null
.
-