|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sleepycat.collections.StoredContainer
com.sleepycat.collections.StoredCollection
com.sleepycat.collections.StoredEntrySet
public class StoredEntrySet
The Set returned by Map.entrySet(). This class may not be instantiated
directly. Contrary to what is stated by Map.entrySet() this class
does support the add(java.lang.Object) and StoredCollection.addAll(java.util.Collection) methods.
The Map.Entry.setValue(V) method of the Map.Entry objects
that are returned by this class and its iterators behaves just as the StoredIterator.set(java.lang.Object) method does.
| Field Summary |
|---|
| Fields inherited from class com.sleepycat.collections.StoredCollection |
|---|
DEFAULT_ITERATOR_BLOCK_SIZE |
| Method Summary | |
|---|---|
boolean |
add(java.lang.Object mapEntry)
Adds the specified element to this set if it is not already present (optional operation). |
boolean |
contains(java.lang.Object mapEntry)
Returns true if this set contains the specified element. |
boolean |
remove(java.lang.Object mapEntry)
Removes the specified element from this set if it is present (optional operation). |
java.lang.String |
toString()
Converts the collection to a string representation for debugging. |
| Methods inherited from class com.sleepycat.collections.StoredCollection |
|---|
addAll, containsAll, equals, getIteratorBlockSize, hashCode, iterator, iterator, join, removeAll, retainAll, setIteratorBlockSize, size, storedIterator, storedIterator, toArray, toArray, toList |
| Methods inherited from class com.sleepycat.collections.StoredContainer |
|---|
areDuplicatesAllowed, areDuplicatesOrdered, areKeysRenumbered, clear, getCursorConfig, isDirtyRead, isDirtyReadAllowed, isEmpty, isOrdered, isSecondary, isTransactional, isWriteAllowed |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Set |
|---|
addAll, clear, containsAll, equals, hashCode, isEmpty, iterator, removeAll, retainAll, size, toArray, toArray |
| Method Detail |
|---|
public boolean add(java.lang.Object mapEntry)
Set.add(E) interface.
add in interface java.util.Collectionadd in interface java.util.SetmapEntry - must be a Map.Entry instance.
java.lang.UnsupportedOperationException - if the collection is read-only.
java.lang.ClassCastException - if the mapEntry is not a Map.Entry instance.
RuntimeExceptionWrapper - if a DatabaseException is thrown.public boolean remove(java.lang.Object mapEntry)
Set.remove(java.lang.Object) interface.
remove in interface java.util.Collectionremove in interface java.util.SetmapEntry - is a Map.Entry instance to be removed.
Map.Entry instance or is not
present in the set.
java.lang.UnsupportedOperationException - if the collection is read-only.
RuntimeExceptionWrapper - if a DatabaseException is thrown.public boolean contains(java.lang.Object mapEntry)
Set.contains(java.lang.Object) interface.
contains in interface java.util.Collectioncontains in interface java.util.SetmapEntry - is a Map.Entry instance to be checked.
Map.Entry instance or is not
present in the set.
RuntimeExceptionWrapper - if a DatabaseException is thrown.public java.lang.String toString()
StoredCollection
toString in class StoredCollection
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||