public class MapBackedIdColl extends Object implements com.ohmdb.abstracts.IdColl
| Constructor and Description |
|---|
MapBackedIdColl(OhmDBStats stats) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelId(long id) |
void |
clear() |
void |
delete(long id) |
com.ohmdb.abstracts.IdAddress |
get(long id) |
boolean |
has(long id) |
boolean |
isValid(long id) |
long |
newId() |
void |
registerId(long id) |
void |
set(long id,
com.ohmdb.abstracts.IdAddress addr) |
public MapBackedIdColl(OhmDBStats stats)
public boolean has(long id)
has in interface com.ohmdb.abstracts.IdCollpublic com.ohmdb.abstracts.IdAddress get(long id)
get in interface com.ohmdb.abstracts.IdCollpublic void set(long id,
com.ohmdb.abstracts.IdAddress addr)
set in interface com.ohmdb.abstracts.IdCollpublic void delete(long id)
delete in interface com.ohmdb.abstracts.IdCollpublic void clear()
clear in interface com.ohmdb.abstracts.IdCollpublic boolean isValid(long id)
isValid in interface com.ohmdb.abstracts.IdCollpublic long newId()
newId in interface com.ohmdb.abstracts.IdCollpublic void registerId(long id)
registerId in interface com.ohmdb.abstracts.IdCollpublic void cancelId(long id)
cancelId in interface com.ohmdb.abstracts.IdCollCopyright © 2013–2014 Nikolche Mihajlovski. All rights reserved.