public class FieldArray<T> extends AbstractCollection<T>
Modifier and Type | Method and Description |
---|---|
static <T> FieldArray<T> |
asFieldArray(Collection<T> collection) |
int |
getEncodingSize() |
Iterator<T> |
iterator() |
static FieldArray<?> |
readFromBuffer(DataInput buffer) |
int |
size() |
void |
writeToBuffer(DataOutput buffer) |
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
public Iterator<T> iterator()
iterator
in interface Iterable<T>
iterator
in interface Collection<T>
iterator
in class AbstractCollection<T>
public int size()
size
in interface Collection<T>
size
in class AbstractCollection<T>
public int getEncodingSize()
public static <T> FieldArray<T> asFieldArray(Collection<T> collection)
public void writeToBuffer(DataOutput buffer) throws IOException
IOException
public static FieldArray<?> readFromBuffer(DataInput buffer) throws IOException
IOException
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.