T - data type of the series to be readpublic interface DataReader<T>
| Modifier and Type | Method and Description |
|---|---|
T |
readData()
Read a single object
|
T |
readDataArray(int length)
Read an array of specified length.
|
T readData() throws IOException
IOException - as per java IO contractT readDataArray(int length) throws IOException
length - the length of the array to be readIOException - as per java IO contract