Inheritance diagram for com::sleepycat::collections::StoredSortedEntrySet:
Public Member Functions | |
Comparator | comparator () |
Object | first () |
Object | last () |
SortedSet | headSet (Object toMapEntry) |
SortedSet | headSet (Object toMapEntry, boolean toInclusive) |
SortedSet | tailSet (Object fromMapEntry) |
SortedSet | tailSet (Object fromMapEntry, boolean fromInclusive) |
SortedSet | subSet (Object fromMapEntry, Object toMapEntry) |
SortedSet | subSet (Object fromMapEntry, boolean fromInclusive, Object toMapEntry, boolean toInclusive) |
The java.util.Map.Entry#setValue method of the Map.Entry objects that are returned by this class and its iterators behaves just as the StoredIterator#set method does.
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. In addition to the standard SortedSet methods, this class provides the following methods for stored sorted sets only. Note that the use of these methods is not compatible with the standard Java collections interface.
Definition at line 47 of file StoredSortedEntrySet.java.
|
Returns null since comparators are not supported. The natural ordering of a stored collection is data byte order, whether the data classes implement the java.lang.Comparable interface or not. This method does not conform to the SortedSet#comparator interface.
Definition at line 63 of file StoredSortedEntrySet.java. |
|
Returns the first (lowest) element currently in this sorted set. This method conforms to the SortedSet#first interface.
Definition at line 77 of file StoredSortedEntrySet.java. |
|
Returns a view of the portion of this sorted set whose elements are strictly less than toMapEntry, optionally including toMapEntry. This method does not exist in the standard SortedSet interface. Note that the return value is a StoredCollection and must be treated as such; for example, its iterators must be explicitly closed.
Definition at line 133 of file StoredSortedEntrySet.java. References subSet(). |
|
Returns a view of the portion of this sorted set whose elements are strictly less than toMapEntry. This method conforms to the SortedSet#headSet interface. Note that the return value is a StoredCollection and must be treated as such; for example, its iterators must be explicitly closed.
Definition at line 111 of file StoredSortedEntrySet.java. References subSet(). |
|
Returns the last (highest) element currently in this sorted set. This method conforms to the SortedSet#last interface.
Definition at line 91 of file StoredSortedEntrySet.java. |
|
Returns a view of the portion of this sorted set whose elements are strictly greater than fromMapEntry and strictly less than toMapEntry, optionally including fromMapEntry and toMapEntry. This method does not exist in the standard SortedSet interface. Note that the return value is a StoredCollection and must be treated as such; for example, its iterators must be explicitly closed.
Definition at line 224 of file StoredSortedEntrySet.java. References com::sleepycat::collections::DataView::subView(). |
|
Returns a view of the portion of this sorted set whose elements range from fromMapEntry, inclusive, to toMapEntry, exclusive. This method conforms to the SortedSet#subSet interface. Note that the return value is a StoredCollection and must be treated as such; for example, its iterators must be explicitly closed.
Definition at line 197 of file StoredSortedEntrySet.java. |
|
Returns a view of the portion of this sorted set whose elements are strictly greater than fromMapEntry, optionally including fromMapEntry. This method does not exist in the standard SortedSet interface. Note that the return value is a StoredCollection and must be treated as such; for example, its iterators must be explicitly closed.
Definition at line 175 of file StoredSortedEntrySet.java. References subSet(). |
|
Returns a view of the portion of this sorted set whose elements are greater than or equal to fromMapEntry. This method conforms to the SortedSet#tailSet interface. Note that the return value is a StoredCollection and must be treated as such; for example, its iterators must be explicitly closed.
Definition at line 153 of file StoredSortedEntrySet.java. References subSet(). |