Inheritance diagram for com::sleepycat::collections::StoredKeySet:
Public Member Functions | |
StoredKeySet (Database database, EntryBinding keyBinding, boolean writeAllowed) | |
boolean | add (Object key) |
boolean | remove (Object key) |
boolean | contains (Object key) |
Note that this class does not conform to the standard Java collections interface in the following ways:
UnsupportedOperationException
because, for performance reasons, databases do not maintain their total record count.
Definition at line 40 of file StoredKeySet.java.
|
Creates a key set view of a Database.
Definition at line 59 of file StoredKeySet.java. |
|
Adds the specified key to this set if it is not already present (optional operation). When a key is added the value in the underlying data store will be empty. This method conforms to the Set#add interface.
Definition at line 84 of file StoredKeySet.java. References com::sleepycat::collections::DataCursor::putNoOverwrite(). |
|
Returns true if this set contains the specified key. This method conforms to the Set#contains interface.
Definition at line 124 of file StoredKeySet.java. |
|
Removes the specified key from this set if it is present (optional operation). If duplicates are allowed, this method removes all duplicates for the given key. This method conforms to the Set#remove interface.
Definition at line 112 of file StoredKeySet.java. |