Index
All Classes and Interfaces|All Packages
C
- clear() - Method in class SimpleDB
-
Removes all key-value pairs from the database.
- containsKey(String) - Method in class SimpleDB
-
Checks if the database contains the given key.
D
- delete(String) - Method in class SimpleDB
-
Removes the key-value pair for the given key from the database.
G
- get(String) - Method in class SimpleDB
-
Retrieves the value associated with the given key.
L
P
- persist() - Method in class SimpleDB
-
Serializes and saves the database to a file.
- put(String, String) - Method in class SimpleDB
-
Adds or updates a key-value pair in the database.
S
- SimpleDB - Class in Unnamed Package
-
SimpleDB is a basic key-value database using a HashMap for in-memory storage.
- SimpleDB() - Constructor for class SimpleDB
-
Constructs a new, empty SimpleDB.
- size() - Method in class SimpleDB
-
Returns the number of key-value pairs in the database.
All Classes and Interfaces|All Packages