public class MemoryData extends Object implements Data
Modifier and Type | Field and Description |
---|---|
protected int |
currentRow |
Constructor and Description |
---|
MemoryData() |
MemoryData(Data data,
int numColumns) |
Modifier and Type | Method and Description |
---|---|
void |
addRow(Object[] row)
Add a row of data
|
void |
dump() |
Object |
get(int index)
get the data at a certain column
|
Object[] |
getRow(int index) |
boolean |
next()
goto the next (or first) row
|
void |
sort(int[] sortBy,
boolean[] ascending)
sort the data set by the given columns
each column is sorted seperate
|
public MemoryData()
public MemoryData(Data data, int numColumns) throws SQLException
SQLException
public boolean next() throws SQLException
next
in interface Data
SQLException
public Object get(int index)
public Object[] getRow(int index)
public void addRow(Object[] row)
public void sort(int[] sortBy, boolean[] ascending) throws SQLException
SQLException
public void dump()
Copyright © 2014 Open Microscopy Environment