Package io.datarouter.bytes
Class PagedObjectArray<E>
java.lang.Object
io.datarouter.bytes.PagedObjectArray<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,List<E>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends E> collection) booleanaddAll(Collection<? extends E> objs) voidclear()booleanbooleancontainsAll(Collection<?> theirs) get(int index) intbooleanisEmpty()iterator()intlastIndexOf(Object obj) listIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> objs) booleanretainAll(Collection<?> objs) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(T[] array) E[]Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Constructor Details
-
PagedObjectArray
public PagedObjectArray() -
PagedObjectArray
public PagedObjectArray(int requestedPageSize)
-
-
Method Details
-
toArrayOf
-
add
-
add
-
addAll
-
addAll
-
clear
public void clear() -
contains
-
containsAll
- Specified by:
containsAllin interfaceCollection<E>- Specified by:
containsAllin interfaceList<E>
-
get
-
indexOf
-
isEmpty
public boolean isEmpty() -
iterator
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<E>
-
listIterator
- Specified by:
listIteratorin interfaceList<E>
-
listIterator
- Specified by:
listIteratorin interfaceList<E>
-
remove
-
remove
-
removeAll
-
retainAll
-
set
-
size
public int size() -
subList
-
toArray
-
toArray
public <T> T[] toArray(T[] array)
-