Package io.datarouter.bytes
Class PagedObjectArray<E>
java.lang.Object
io.datarouter.bytes.PagedObjectArray<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,List<E>
public class PagedObjectArray<E> extends Object implements List<E>
-
Constructor Summary
Constructors Constructor Description PagedObjectArray()PagedObjectArray(int requestedPageSize) -
Method Summary
Modifier and Type Method Description voidadd(int index, E element)booleanadd(E value)booleanaddAll(int index, Collection<? extends E> collection)booleanaddAll(Collection<? extends E> objs)voidclear()booleancontains(Object theirs)booleancontainsAll(Collection<?> theirs)Eget(int index)intindexOf(Object obj)booleanisEmpty()Iterator<E>iterator()intlastIndexOf(Object obj)ListIterator<E>listIterator()ListIterator<E>listIterator(int index)Eremove(int index)booleanremove(Object obj)booleanremoveAll(Collection<?> objs)booleanretainAll(Collection<?> objs)Eset(int index, E element)intsize()List<E>subList(int fromIndex, int toIndex)Object[]toArray()<T> T[]toArray(T[] array)E[]toArrayOf(Class<E> clazz)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)
-