public static class WBooleanArrayList.WReusableBooleanArrayList extends WBooleanArrayList
WBooleanArrayList.WReusableBooleanArrayList| Constructor and Description |
|---|
WReusableBooleanArrayList()
Constructor
|
WReusableBooleanArrayList(int capacity)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static WBooleanArrayList.WReusableBooleanArrayList |
readIntoOrCreate(WBooleanArrayList.WReusableBooleanArrayList 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, forEachBoolean, forEachWhileBoolean, getElementTypeOps, getIntoW, popIntoW, readElements, readFields, readNew, setCapacity, setW, sort, write, writeElements, writeOrNulladd, add, addAll, addAll, addElements, clear, clone, compareTo, elements, ensureCapacity, equals, getBoolean, getElements, indexOf, isEmpty, lastIndexOf, listIterator, rem, removeBoolean, removeElements, set, size, size, toBooleanArray, trim, trim, wrap, wrapadd, addAll, addAll, addAll, addAll, addElements, booleanListIterator, booleanListIterator, booleanSubList, compareTo, contains, ensureIndex, ensureRestrictedIndex, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, peek, peekBoolean, pop, popBoolean, push, push, remove, remove, set, subList, top, topBoolean, toStringadd, booleanIterator, contains, containsAll, containsAll, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toBooleanArrayfinalize, getClass, notify, notifyAll, wait, wait, waitsize, trimclear, sizeadd, addAll, booleanIterator, contains, containsAll, iterator, rem, removeAll, retainAll, toArray, toArray, toBooleanArray, toBooleanArrayadd, 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 WReusableBooleanArrayList()
public WReusableBooleanArrayList(int capacity)
capacity - Capacityprotected void resizeArrayForRead(int size)
WBooleanArrayListresizeArrayForRead in class WBooleanArrayListsize - Number of elements that will be read.public static WBooleanArrayList.WReusableBooleanArrayList readIntoOrCreate(WBooleanArrayList.WReusableBooleanArrayList list, DataInput in) throws IOException
list - Array list to be writtenin - Data inputIOExceptionCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.