public class OSMIDMap extends Object implements LongIntMap
| Constructor and Description |
|---|
OSMIDMap(Directory dir) |
OSMIDMap(Directory dir,
int noNumber) |
| Modifier and Type | Method and Description |
|---|---|
int |
get(long key) |
long |
getCapacity() |
int |
getMemoryUsage() |
long |
getSize() |
void |
optimize() |
int |
put(long key,
int value) |
void |
remove() |
public OSMIDMap(Directory dir)
public OSMIDMap(Directory dir, int noNumber)
public void remove()
public int put(long key,
int value)
put in interface LongIntMappublic int get(long key)
get in interface LongIntMappublic long getSize()
getSize in interface LongIntMappublic long getCapacity()
public int getMemoryUsage()
getMemoryUsage in interface LongIntMappublic void optimize()
optimize in interface LongIntMapCopyright © 2012–2019. All rights reserved.