public class NodeArrayShort extends Object implements NodeArray
Constructor and Description |
---|
NodeArrayShort(File file) |
NodeArrayShort(File file,
int pageSize,
int cacheSize) |
NodeArrayShort(RandomAccess f) |
Modifier and Type | Method and Description |
---|---|
int |
bytesPerRecord() |
void |
close() |
boolean |
contains(long id) |
OsmNode |
get(long id) |
boolean |
supportsContainment() |
public NodeArrayShort(RandomAccess f)
public NodeArrayShort(File file) throws IOException
IOException
public NodeArrayShort(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