|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for databases which store and retrieve key-value pairs
Method Summary | |
Object |
get(Object key)
Gets Object from database |
Iterator |
keys()
Returns an Iterator over keys in database |
void |
put(Object key,
Object value)
Inserts Object into database |
void |
remove(Object key)
Removes Object from database |
int |
size()
Returns number of elements in database |
String |
toString()
Returns String representation of database. |
String |
toVerboseString()
Returns Verbose String representation of database that enumerates the contents of the database |
String |
toVerboseXMLString()
Returns a verbose XML reprentation of database that enumerates the contents of the database |
String |
toXMLString()
Returns an XML representation of database. |
Iterator |
values()
Returns an Iterator over values in database |
Method Detail |
public int size()
public void put(Object key, Object value) throws IOException
IOException
public Object get(Object key) throws IOException
IOException
public void remove(Object key) throws IOException
IOException
public String toString()
toString
in class Object
public String toVerboseString()
public String toXMLString()
public String toVerboseXMLString()
public Iterator keys()
public Iterator values()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |