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 LongIntMap
public int get(long key)
get
in interface LongIntMap
public long getSize()
getSize
in interface LongIntMap
public long getCapacity()
public int getMemoryUsage()
getMemoryUsage
in interface LongIntMap
public void optimize()
optimize
in interface LongIntMap
Copyright © 2012–2020. All rights reserved.