public static class WLongArrayList.WReusableLongArrayList extends WLongArrayList
WLongArrayList.WReusableLongArrayList| Constructor and Description |
|---|
WReusableLongArrayList()
Constructor
|
WReusableLongArrayList(int capacity)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static WLongArrayList.WReusableLongArrayList |
readIntoOrCreate(WLongArrayList.WReusableLongArrayList list,
DataInput in)
Read array list from DataInput stream, into a given list if not null,
or creating a new list if given list is null.
|
protected void |
resizeArrayForRead(int size)
Resize array for reading given number of elements.
|
addW, capacity, fastForEachW, fastForEachWhileW, fastIteratorW, fastIteratorW, fillW, forEachLong, forEachWhileLong, getElementTypeOps, getIntoW, popIntoW, readElements, readFields, readNew, setCapacity, setW, sort, write, writeElements, writeOrNulladd, add, addAll, addAll, addElements, clear, clone, compareTo, elements, ensureCapacity, equals, getElements, getLong, indexOf, isEmpty, lastIndexOf, listIterator, rem, removeElements, removeLong, set, size, size, toLongArray, trim, trim, wrap, wrapadd, addAll, addAll, addAll, addAll, addElements, compareTo, contains, ensureIndex, ensureRestrictedIndex, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, longListIterator, longListIterator, longSubList, peek, peekLong, pop, popLong, push, push, remove, remove, set, subList, top, topLong, toStringadd, contains, containsAll, containsAll, longIterator, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toLongArrayfinalize, getClass, notify, notifyAll, wait, wait, waitsize, trimclear, sizeadd, addAll, contains, containsAll, iterator, longIterator, rem, removeAll, retainAll, toArray, toArray, toLongArray, toLongArrayadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArrayadd, contains, containsAll, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArraypublic WReusableLongArrayList()
public WReusableLongArrayList(int capacity)
capacity - Capacityprotected void resizeArrayForRead(int size)
WLongArrayListresizeArrayForRead in class WLongArrayListsize - Number of elements that will be read.public static WLongArrayList.WReusableLongArrayList readIntoOrCreate(WLongArrayList.WReusableLongArrayList list, DataInput in) throws IOException
list - Array list to be writtenin - Data inputIOExceptionCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.