public static class WFloatArrayList.WReusableFloatArrayList extends WFloatArrayList
WFloatArrayList.WReusableFloatArrayList| Constructor and Description |
|---|
WReusableFloatArrayList()
Constructor
|
WReusableFloatArrayList(int capacity)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static WFloatArrayList.WReusableFloatArrayList |
readIntoOrCreate(WFloatArrayList.WReusableFloatArrayList 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, forEachFloat, forEachWhileFloat, getElementTypeOps, getIntoW, popIntoW, readElements, readFields, readNew, setCapacity, setW, sort, write, writeElements, writeOrNulladd, add, addAll, addAll, addElements, clear, clone, compareTo, elements, ensureCapacity, equals, getElements, getFloat, indexOf, isEmpty, lastIndexOf, listIterator, rem, removeElements, removeFloat, set, size, size, toFloatArray, trim, trim, wrap, wrapadd, addAll, addAll, addAll, addAll, addElements, compareTo, contains, ensureIndex, ensureRestrictedIndex, equals, floatListIterator, floatListIterator, floatSubList, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, peek, peekFloat, pop, popFloat, push, push, remove, remove, set, subList, top, topFloat, toStringadd, contains, containsAll, containsAll, floatIterator, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toFloatArrayfinalize, getClass, notify, notifyAll, wait, wait, waitsize, trimclear, sizeadd, addAll, contains, containsAll, floatIterator, iterator, rem, removeAll, retainAll, toArray, toArray, toFloatArray, toFloatArrayadd, 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 WReusableFloatArrayList()
public WReusableFloatArrayList(int capacity)
capacity - Capacityprotected void resizeArrayForRead(int size)
WFloatArrayListresizeArrayForRead in class WFloatArrayListsize - Number of elements that will be read.public static WFloatArrayList.WReusableFloatArrayList readIntoOrCreate(WFloatArrayList.WReusableFloatArrayList list, DataInput in) throws IOException
list - Array list to be writtenin - Data inputIOExceptionCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.