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, waitforEach, spliteratorpublic MemoryFeatureFile(byte[][] data, String[] locations)
data - locations - public Iterator<FeatureFileFeature> iterator()
iterator in interface Iterable<FeatureFileFeature>iterator in class FeatureFilepublic int size()
size in class FeatureFilepublic FeatureFileFeature get(int index)
FeatureFileget in class FeatureFilepublic void close()
FeatureFileclose in class FeatureFile