Package org.nuxeo.drive.adapter.impl
Class ScrollFileSystemItemListImpl
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<FileSystemItem>
-
- org.nuxeo.drive.adapter.impl.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 aScrollFileSystemItemList
based on anArrayList
.- Since:
- 8.3
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
scrollId
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description ScrollFileSystemItemListImpl()
ScrollFileSystemItemListImpl(String scrollId, int size)
ScrollFileSystemItemListImpl(String scrollId, List<FileSystemItem> list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getScrollId()
int
hashCode()
void
setScrollId(String scrollId)
String
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 Detail
-
scrollId
protected String scrollId
-
-
Constructor Detail
-
ScrollFileSystemItemListImpl
public ScrollFileSystemItemListImpl()
-
ScrollFileSystemItemListImpl
public ScrollFileSystemItemListImpl(String scrollId, int size)
-
ScrollFileSystemItemListImpl
public ScrollFileSystemItemListImpl(String scrollId, List<FileSystemItem> list)
-
-
Method Detail
-
getScrollId
public String getScrollId()
- Specified by:
getScrollId
in interfaceScrollFileSystemItemList
-
setScrollId
public void setScrollId(String scrollId)
- Specified by:
setScrollId
in interfaceScrollFileSystemItemList
-
equals
public boolean equals(Object obj)
- 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
public String toString()
- Overrides:
toString
in classAbstractCollection<FileSystemItem>
-
-