Package ubic.gemma.persistence.util
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>
Represents a slice of
List.-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, streamMethods inherited from interface java.util.List
add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, replaceAll, retainAll, 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 in.invalid reference
gemma.gsec.acl.afterinvocation.AclAfterFilterValueObjectCollectionProvider- 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
-