E - the type of object stored inside this array listpublic class SerializableArrayList<E extends org.apache.flink.core.io.IOReadableWritable> extends ArrayList<E> implements org.apache.flink.core.io.IOReadableWritable
ArrayList by implementing the
IOReadableWritable interface.modCount| Constructor and Description |
|---|
SerializableArrayList()
Constructs an empty list with an initial capacity of ten.
|
SerializableArrayList(int initialCapacity)
Constructs an empty list with the specified initial capacity.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
void |
read(org.apache.flink.core.memory.DataInputView in) |
void |
write(org.apache.flink.core.memory.DataOutputView out) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizehashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, hashCodeparallelStream, streampublic SerializableArrayList()
public SerializableArrayList(int initialCapacity)
initialCapacity - the initial capacity of the listpublic void write(org.apache.flink.core.memory.DataOutputView out)
throws IOException
write in interface org.apache.flink.core.io.IOReadableWritableIOExceptionpublic void read(org.apache.flink.core.memory.DataInputView in)
throws IOException
read in interface org.apache.flink.core.io.IOReadableWritableIOExceptionpublic boolean equals(Object obj)
equals in interface Collection<E extends org.apache.flink.core.io.IOReadableWritable>equals in interface List<E extends org.apache.flink.core.io.IOReadableWritable>equals in class AbstractList<E extends org.apache.flink.core.io.IOReadableWritable>Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.