public interface DataStorage extends Iterable<String[]>, Serializable
List
.Modifier and Type | Method and Description |
---|---|
void |
add(int index,
String[] data)
Add new data into storage.
|
void |
add(String[] data)
Add new data into storage.
|
String[] |
get(int index)
Get data at specified index.
|
int |
indexOf(String lineNumber)
Real storage index of lineNumber.
|
Iterator<String[]> |
iterator(boolean skipFirstLine)
Return a new iterator, but skip first iterator element (csv header)
by calling
next() once. |
String[] |
remove(int index)
Remove value at index.
|
String[] |
set(int index,
String[] data)
Replace data at specified index.
|
int |
size()
Storage size.
|
void add(String[] data)
data
- data to addvoid add(int index, String[] data)
index
- index to insert datadata
- data to addString[] get(int index)
index
- indexint size()
String[] set(int index, String[] data)
index
- indexdata
- data to setString[] remove(int index)
index
- indexint indexOf(String lineNumber)
lineNumber
- line numberCopyright © 2010–2015 Ifremer. All rights reserved.