V - The type of the elements of the list.public abstract class ReadableArrayBinary<V> extends Object implements ReadableBinary
List that is readable.| Constructor and Description | 
|---|
ReadableArrayBinary(V[] list)
Construct with a backing list 
 | 
| Modifier and Type | Method and Description | 
|---|---|
byte[] | 
binaryHeader()
Header for binary input. 
 | 
protected abstract V[] | 
createEmpty(int sz)  | 
void | 
readBinary(DataInput in)
Read internal state from in. 
 | 
protected abstract V | 
readValue(DataInput in)  | 
public ReadableArrayBinary(V[] list)
list - the backing listpublic void readBinary(DataInput in) throws IOException
ReadableBinaryreadBinary in interface ReadableBinaryin - source to read from.IOException - an error reading inputprotected abstract V readValue(DataInput in) throws IOException
IOExceptionprotected abstract V[] createEmpty(int sz) throws IOException
IOExceptionpublic byte[] binaryHeader()
ReadableBinarybinaryHeader in interface ReadableBinary