public class FastPropertyStore extends Object
Constructor and Description |
---|
FastPropertyStore()
Creates a new instance of the property store.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the property entries.
|
boolean |
containsEntry(int key)
Checks if the store contains an entry for the given property key.
|
Object |
getEntry(int key)
Gets a property value entry for the given key.
|
void |
removeEntry(int key)
Removes the value entry for the given key.
|
void |
setEntry(int key,
Object value)
Sets a property value for the given property key.
|
public FastPropertyStore()
public void clear()
public boolean containsEntry(int key)
key
- The property key.true
if the store contains an entry for this key and false
otherwise.public Object getEntry(int key)
key
- The key for which to get a value.null
is returned.public void setEntry(int key, Object value)
key
- The property key.value
- The property value.public void removeEntry(int key)
key
- The key for which to remove a value entry.