Package org.nuxeo.drive.adapter.impl
Class ScrollFileSystemItemListImpl
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<FileSystemItem>
,Collection<FileSystemItem>
,List<FileSystemItem>
,RandomAccess
,ScrollFileSystemItemList
public class ScrollFileSystemItemListImpl
extends ArrayList<FileSystemItem>
implements ScrollFileSystemItemList
Default implementation of a
ScrollFileSystemItemList
based on an ArrayList
.- Since:
- 8.3
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
ConstructorDescriptionScrollFileSystemItemListImpl
(String scrollId, int size) ScrollFileSystemItemListImpl
(String scrollId, List<FileSystemItem> list) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
void
setScrollId
(String scrollId) toString()
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Field Details
-
scrollId
-
-
Constructor Details
-
ScrollFileSystemItemListImpl
public ScrollFileSystemItemListImpl() -
ScrollFileSystemItemListImpl
-
ScrollFileSystemItemListImpl
-
-
Method Details
-
getScrollId
- Specified by:
getScrollId
in interfaceScrollFileSystemItemList
-
setScrollId
- Specified by:
setScrollId
in interfaceScrollFileSystemItemList
-
equals
- Specified by:
equals
in interfaceCollection<FileSystemItem>
- Specified by:
equals
in interfaceList<FileSystemItem>
- Overrides:
equals
in classArrayList<FileSystemItem>
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCollection<FileSystemItem>
- Specified by:
hashCode
in interfaceList<FileSystemItem>
- Overrides:
hashCode
in classArrayList<FileSystemItem>
-
toString
- Overrides:
toString
in classAbstractCollection<FileSystemItem>
-