Class Slice<O>
java.lang.Object
java.util.AbstractCollection<O>
java.util.AbstractList<O>
ubic.gemma.persistence.util.Slice<O>
- All Implemented Interfaces:
Iterable<O>, Collection<O>, List<O>, SequencedCollection<O>
Represents a slice of
List.-
Field Summary
Fields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, sort, spliterator, subList, toArray, toArray
-
Constructor Details
-
Slice
-
-
Method Details
-
get
-
size
public int size()- Specified by:
sizein interfaceCollection<O>- Specified by:
sizein interfaceList<O>- Specified by:
sizein classAbstractCollection<O>
-
add
Deprecated.This is unfortunately necessary because it it blindly casted. This is necessary- Specified by:
addin interfaceCollection<O>- Specified by:
addin interfaceList<O>- Overrides:
addin classAbstractList<O>
-
remove
Deprecated.Unfortunately, we need to implement this because gsec explicitly remove items that are not accessible by the current user inAclEntryAfterInvocationValueObjectCollectionFilteringProvider.- Specified by:
removein interfaceCollection<O>- Specified by:
removein interfaceList<O>- Overrides:
removein classAbstractCollection<O>
-
getSort
- Returns:
- a sort, or null if unspecified
-
getOffset
- Returns:
- an offset, or null if unspecified
-
getLimit
- Returns:
- a limit, or null if unspecified
-
getTotalElements
- Returns:
- the total number of elements, or null if unspecified.
-
map
-