|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.unimi.dsi.fastutil.ints.AbstractInt2IntFunction
it.unimi.dsi.fastutil.ints.Int2IntFunctions.SynchronizedFunction
it.unimi.dsi.fastutil.ints.Int2IntMaps.SynchronizedMap
it.unimi.dsi.fastutil.ints.Int2IntSortedMaps.SynchronizedSortedMap
public static class Int2IntSortedMaps.SynchronizedSortedMap
A synchronized wrapper class for sorted maps.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface it.unimi.dsi.fastutil.ints.Int2IntSortedMap |
---|
Int2IntSortedMap.FastSortedEntrySet |
Nested classes/interfaces inherited from interface it.unimi.dsi.fastutil.ints.Int2IntMap |
---|
Int2IntMap.Entry, Int2IntMap.FastEntrySet |
Field Summary | |
---|---|
static long |
serialVersionUID
|
Method Summary | |
---|---|
IntComparator |
comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering. |
ObjectSortedSet<Map.Entry<Integer,Integer>> |
entrySet()
Returns a set view of the mappings contained in this map. |
int |
firstIntKey()
|
Integer |
firstKey()
|
Int2IntSortedMap |
headMap(int to)
Returns a view of the portion of this sorted map whose keys are strictly less than toKey . |
Int2IntSortedMap |
headMap(Integer to)
Returns a view of the portion of this sorted map whose keys are strictly less than toKey . |
ObjectSortedSet<Int2IntMap.Entry> |
int2IntEntrySet()
Returns a type-specific set view of the mappings contained in this map. |
IntSortedSet |
keySet()
Returns a set view of the keys contained in this map. |
int |
lastIntKey()
|
Integer |
lastKey()
|
Int2IntSortedMap |
subMap(Integer from,
Integer to)
Returns a view of the portion of this sorted map whose keys range from fromKey , inclusive, to toKey , exclusive. |
Int2IntSortedMap |
subMap(int from,
int to)
Returns a view of the portion of this sorted map whose keys range from fromKey , inclusive, to toKey , exclusive. |
Int2IntSortedMap |
tailMap(int from)
Returns a view of the portion of this sorted map whose keys are greater than or equal to fromKey . |
Int2IntSortedMap |
tailMap(Integer from)
Returns a view of the portion of this sorted map whose keys are greater than or equal to fromKey . |
Methods inherited from class it.unimi.dsi.fastutil.ints.Int2IntMaps.SynchronizedMap |
---|
clear, containsKey, containsKey, containsValue, containsValue, defaultReturnValue, defaultReturnValue, equals, get, hashCode, isEmpty, put, put, putAll, remove, size, toString, values |
Methods inherited from class it.unimi.dsi.fastutil.ints.Int2IntFunctions.SynchronizedFunction |
---|
get, remove |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface it.unimi.dsi.fastutil.ints.Int2IntSortedMap |
---|
values |
Methods inherited from interface it.unimi.dsi.fastutil.ints.Int2IntMap |
---|
containsValue |
Methods inherited from interface it.unimi.dsi.fastutil.ints.Int2IntFunction |
---|
containsKey, defaultReturnValue, defaultReturnValue, get, put, remove |
Methods inherited from interface it.unimi.dsi.fastutil.Function |
---|
clear, containsKey, get, put, remove, size |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, put, putAll, remove, size |
Field Detail |
---|
public static final long serialVersionUID
Method Detail |
---|
public IntComparator comparator()
Int2IntSortedMap
Note that this specification strengthens the one given in SortedMap.comparator()
.
comparator
in interface Int2IntSortedMap
comparator
in interface SortedMap<Integer,Integer>
SortedMap.comparator()
public ObjectSortedSet<Int2IntMap.Entry> int2IntEntrySet()
Int2IntMap
This method is necessary because there is no inheritance along
type parameters: it is thus impossible to strengthen Int2IntMap.entrySet()
so that it returns an ObjectSet
of objects of type Int2IntMap.Entry
(the latter makes it possible to
access keys and values with type-specific methods).
int2IntEntrySet
in interface Int2IntMap
int2IntEntrySet
in interface Int2IntSortedMap
int2IntEntrySet
in class Int2IntMaps.SynchronizedMap
Int2IntMap.entrySet()
public ObjectSortedSet<Map.Entry<Integer,Integer>> entrySet()
Int2IntMap
Note that this specification strengthens the one given in Map.entrySet()
.
entrySet
in interface Int2IntMap
entrySet
in interface Int2IntSortedMap
entrySet
in interface Map<Integer,Integer>
entrySet
in interface SortedMap<Integer,Integer>
entrySet
in class Int2IntMaps.SynchronizedMap
Map.entrySet()
public IntSortedSet keySet()
Int2IntMap
Note that this specification strengthens the one given in Map.keySet()
.
keySet
in interface Int2IntMap
keySet
in interface Int2IntSortedMap
keySet
in interface Map<Integer,Integer>
keySet
in interface SortedMap<Integer,Integer>
keySet
in class Int2IntMaps.SynchronizedMap
Map.keySet()
public Int2IntSortedMap subMap(int from, int to)
Int2IntSortedMap
fromKey
, inclusive, to toKey
, exclusive.
subMap
in interface Int2IntSortedMap
SortedMap.subMap(Object,Object)
public Int2IntSortedMap headMap(int to)
Int2IntSortedMap
toKey
.
headMap
in interface Int2IntSortedMap
SortedMap.headMap(Object)
public Int2IntSortedMap tailMap(int from)
Int2IntSortedMap
fromKey
.
tailMap
in interface Int2IntSortedMap
SortedMap.tailMap(Object)
public int firstIntKey()
firstIntKey
in interface Int2IntSortedMap
SortedMap.firstKey()
public int lastIntKey()
lastIntKey
in interface Int2IntSortedMap
SortedMap.lastKey()
public Integer firstKey()
firstKey
in interface SortedMap<Integer,Integer>
public Integer lastKey()
lastKey
in interface SortedMap<Integer,Integer>
public Int2IntSortedMap subMap(Integer from, Integer to)
Int2IntSortedMap
fromKey
, inclusive, to toKey
, exclusive.
Note that this specification strengthens the one given in SortedMap.subMap(Object,Object)
.
subMap
in interface Int2IntSortedMap
subMap
in interface SortedMap<Integer,Integer>
SortedMap.subMap(Object,Object)
public Int2IntSortedMap headMap(Integer to)
Int2IntSortedMap
toKey
.
Note that this specification strengthens the one given in SortedMap.headMap(Object)
.
headMap
in interface Int2IntSortedMap
headMap
in interface SortedMap<Integer,Integer>
SortedMap.headMap(Object)
public Int2IntSortedMap tailMap(Integer from)
Int2IntSortedMap
fromKey
.
Note that this specification strengthens the one given in SortedMap.tailMap(Object)
.
tailMap
in interface Int2IntSortedMap
tailMap
in interface SortedMap<Integer,Integer>
SortedMap.tailMap(Object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |