public class NodeArrayInteger extends Object implements NodeArray
Constructor and Description |
---|
NodeArrayInteger(File file) |
NodeArrayInteger(File file,
int pageSize,
int cacheSize) |
NodeArrayInteger(RandomAccess f) |
Modifier and Type | Method and Description |
---|---|
int |
bytesPerRecord() |
void |
close() |
boolean |
contains(long id) |
OsmNode |
get(long id) |
boolean |
supportsContainment() |
public NodeArrayInteger(RandomAccess f)
public NodeArrayInteger(File file) throws IOException
IOException
public NodeArrayInteger(File file, int pageSize, int cacheSize) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public OsmNode get(long id) throws IOException
get
in interface NodeArray
IOException
public boolean supportsContainment()
supportsContainment
in interface NodeArray
public boolean contains(long id) throws IOException
contains
in interface NodeArray
IOException
public int bytesPerRecord()
bytesPerRecord
in interface NodeArray