public class MemoryFeatureFile extends FeatureFile
Constructor and Description |
---|
MemoryFeatureFile(byte[][] data,
String[] locations)
Construct with the given data
|
Modifier and Type | Method and Description |
---|---|
void |
close()
close any connection to the underlying file
|
FeatureFileFeature |
get(int index)
The ith local feature
|
Iterator<FeatureFileFeature> |
iterator() |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public MemoryFeatureFile(byte[][] data, String[] locations)
data
- locations
- public Iterator<FeatureFileFeature> iterator()
iterator
in interface Iterable<FeatureFileFeature>
iterator
in class FeatureFile
public int size()
size
in class FeatureFile
public FeatureFileFeature get(int index)
FeatureFile
get
in class FeatureFile
public void close()
FeatureFile
close
in class FeatureFile