E - the type of elements stored in this list.@ReplacedBy(value="java.util.List") public class StreamableArrayList<E> extends ArrayList<E> implements Streamable
ArrayList extension that can be streamed. The contents of the list must also be of
streamable types.Streamable,
Serialized FormStreamable.Closure| Constructor and Description |
|---|
StreamableArrayList() |
| Modifier and Type | Method and Description |
|---|---|
static <E> StreamableArrayList<E> |
newList()
Creates an empty StreamableArrayList.
|
void |
readObject(ObjectInputStream in)
Reads our custom streamable fields.
|
void |
writeObject(ObjectOutputStream out)
Writes our custom streamable fields.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringcontainsAll, equals, hashCodeparallelStream, streampublic static <E> StreamableArrayList<E> newList()
public void writeObject(ObjectOutputStream out) throws IOException
IOExceptionpublic void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionCopyright © 2015. All rights reserved.