public abstract class AbstractInt2BooleanSortedMap extends AbstractInt2BooleanMap implements Int2BooleanSortedMap
AbstractInt2BooleanMap.BasicEntryInt2BooleanSortedMap.FastSortedEntrySetInt2BooleanMap.Entry, Int2BooleanMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
ObjectSortedSet<Map.Entry<Integer,Boolean>> |
entrySet()
Returns a set view of the mappings contained in this map.
|
Integer |
firstKey()
Delegates to the corresponding type-specific method.
|
Int2BooleanSortedMap |
headMap(Integer to)
Delegates to the corresponding type-specific method.
|
IntSortedSet |
keySet()
Returns a type-specific-sorted-set view of the keys of this map.
|
Integer |
lastKey()
Delegates to the corresponding type-specific method.
|
Int2BooleanSortedMap |
subMap(Integer from,
Integer to)
Delegates to the corresponding type-specific method.
|
Int2BooleanSortedMap |
tailMap(Integer from)
Delegates to the corresponding type-specific method.
|
BooleanCollection |
values()
Returns a type-specific collection view of the values contained in this map.
|
containsKey, containsValue, containsValue, equals, hashCode, isEmpty, putAll, toStringclear, containsKey, defaultReturnValue, defaultReturnValue, get, put, put, remove, removecomparator, firstIntKey, headMap, int2BooleanEntrySet, lastIntKey, subMap, tailMapcontainsValuecontainsKey, defaultReturnValue, defaultReturnValue, get, put, removepublic Int2BooleanSortedMap headMap(Integer to)
headMap in interface Int2BooleanSortedMapheadMap in interface SortedMap<Integer,Boolean>SortedMap.headMap(Object)public Int2BooleanSortedMap tailMap(Integer from)
tailMap in interface Int2BooleanSortedMaptailMap in interface SortedMap<Integer,Boolean>SortedMap.tailMap(Object)public Int2BooleanSortedMap subMap(Integer from, Integer to)
subMap in interface Int2BooleanSortedMapsubMap in interface SortedMap<Integer,Boolean>SortedMap.subMap(Object,Object)public Integer firstKey()
public Integer lastKey()
public IntSortedSet keySet()
The view is backed by the sorted set returned by entrySet(). Note that
no attempt is made at caching the result of this method, as this would
require adding some attributes that lightweight implementations would
not need. Subclasses may easily override this policy by calling
this method and caching the result, but implementors are encouraged to
write more efficient ad-hoc implementations.
keySet in interface Int2BooleanMapkeySet in interface Int2BooleanSortedMapkeySet in interface Map<Integer,Boolean>keySet in interface SortedMap<Integer,Boolean>keySet in class AbstractInt2BooleanMapMap.keySet()public BooleanCollection values()
The view is backed by the sorted set returned by entrySet(). Note that
no attempt is made at caching the result of this method, as this would
require adding some attributes that lightweight implementations would
not need. Subclasses may easily override this policy by calling
this method and caching the result, but implementors are encouraged to
write more efficient ad-hoc implementations.
values in interface Int2BooleanMapvalues in interface Int2BooleanSortedMapvalues in interface Map<Integer,Boolean>values in interface SortedMap<Integer,Boolean>values in class AbstractInt2BooleanMapMap.values()public ObjectSortedSet<Map.Entry<Integer,Boolean>> entrySet()
Int2BooleanMapNote that this specification strengthens the one given in Map.entrySet().
entrySet in interface Int2BooleanMapentrySet in interface Int2BooleanSortedMapentrySet in interface Map<Integer,Boolean>entrySet in interface SortedMap<Integer,Boolean>entrySet in class AbstractInt2BooleanMapMap.entrySet()