Package org.nuxeo.drive.adapter.impl
Class ScrollFileSystemItemListImpl
java.lang.Object
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<FileSystemItem>,Collection<FileSystemItem>,List<FileSystemItem>,RandomAccess,SequencedCollection<FileSystemItem>,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
FieldsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionScrollFileSystemItemListImpl(String scrollId, int size) ScrollFileSystemItemListImpl(String scrollId, List<FileSystemItem> list) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidsetScrollId(String scrollId) toString()Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, forEach, get, getFirst, getLast, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAllMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, get, getFirst, getLast, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, size, sort, spliterator, subList, toArray, toArray
-
Field Details
-
scrollId
-
-
Constructor Details
-
ScrollFileSystemItemListImpl
public ScrollFileSystemItemListImpl() -
ScrollFileSystemItemListImpl
-
ScrollFileSystemItemListImpl
-
-
Method Details
-
getScrollId
- Specified by:
getScrollIdin interfaceScrollFileSystemItemList
-
setScrollId
- Specified by:
setScrollIdin interfaceScrollFileSystemItemList
-
equals
- Specified by:
equalsin interfaceCollection<FileSystemItem>- Specified by:
equalsin interfaceList<FileSystemItem>- Overrides:
equalsin classArrayList<FileSystemItem>
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection<FileSystemItem>- Specified by:
hashCodein interfaceList<FileSystemItem>- Overrides:
hashCodein classArrayList<FileSystemItem>
-
toString
- Overrides:
toStringin classAbstractCollection<FileSystemItem>
-