| Package | Description |
|---|---|
| it.unimi.dsi.fastutil.ints |
Provides type-specific classes for integer elements or keys.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractInt2ReferenceSortedMap<V>
An abstract class providing basic methods for sorted maps implementing a type-specific interface.
|
class |
Int2ReferenceAVLTreeMap<V>
A type-specific AVL tree map with a fast, small-footprint implementation.
|
class |
Int2ReferenceLinkedOpenHashMap<V>
A type-specific linked hash map with with a fast, small-footprint implementation.
|
class |
Int2ReferenceRBTreeMap<V>
A type-specific red-black tree map with a fast, small-footprint implementation.
|
static class |
Int2ReferenceSortedMaps.EmptySortedMap<V>
An immutable class representing an empty type-specific sorted map.
|
static class |
Int2ReferenceSortedMaps.Singleton<V>
An immutable class representing a type-specific singleton sorted map.
|
static class |
Int2ReferenceSortedMaps.SynchronizedSortedMap<V>
A synchronized wrapper class for sorted maps.
|
static class |
Int2ReferenceSortedMaps.UnmodifiableSortedMap<V>
An unmodifiable wrapper class for sorted maps.
|
| Modifier and Type | Field and Description |
|---|---|
protected Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.SynchronizedSortedMap.sortedMap |
protected Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.UnmodifiableSortedMap.sortedMap |
| Modifier and Type | Method and Description |
|---|---|
static <V> Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.emptyMap()
Returns an empty sorted map (immutable).
|
Int2ReferenceSortedMap<V> |
Int2ReferenceRBTreeMap.headMap(int to) |
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMap.headMap(int toKey)
Returns a view of the portion of this sorted map whose keys are strictly less than
toKey. |
Int2ReferenceSortedMap<V> |
Int2ReferenceAVLTreeMap.headMap(int to) |
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.EmptySortedMap.headMap(int to) |
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.Singleton.headMap(int to) |
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.SynchronizedSortedMap.headMap(int to) |
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.UnmodifiableSortedMap.headMap(int to) |
Int2ReferenceSortedMap<V> |
Int2ReferenceLinkedOpenHashMap.headMap(int to)
Returns a view of the portion of this sorted map whose keys are strictly less than
toKey. |
default Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMap.headMap(Integer to)
Deprecated.
Please use the corresponding type-specific method instead.
|
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.EmptySortedMap.headMap(Integer oto)
Deprecated.
Please use the corresponding type-specific method instead.
|
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.Singleton.headMap(Integer oto)
Deprecated.
Please use the corresponding type-specific method instead.
|
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.SynchronizedSortedMap.headMap(Integer to)
Deprecated.
Please use the corresponding type-specific method instead.
|
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.UnmodifiableSortedMap.headMap(Integer to)
Deprecated.
Please use the corresponding type-specific method instead.
|
static <V> Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.singleton(Integer key,
V value)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static <V> Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.singleton(Integer key,
V value,
IntComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static <V> Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.singleton(int key,
V value)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static <V> Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.singleton(int key,
V value,
IntComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
default Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMap.subMap(Integer from,
Integer to)
Deprecated.
Please use the corresponding type-specific method instead.
|
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.EmptySortedMap.subMap(Integer ofrom,
Integer oto)
Deprecated.
Please use the corresponding type-specific method instead.
|
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.Singleton.subMap(Integer ofrom,
Integer oto)
Deprecated.
Please use the corresponding type-specific method instead.
|
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.SynchronizedSortedMap.subMap(Integer from,
Integer to)
Deprecated.
Please use the corresponding type-specific method instead.
|
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.UnmodifiableSortedMap.subMap(Integer from,
Integer to)
Deprecated.
Please use the corresponding type-specific method instead.
|
Int2ReferenceSortedMap<V> |
Int2ReferenceRBTreeMap.subMap(int from,
int to) |
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMap.subMap(int fromKey,
int toKey)
Returns a view of the portion of this sorted map whose keys range from
fromKey, inclusive, to toKey, exclusive. |
Int2ReferenceSortedMap<V> |
Int2ReferenceAVLTreeMap.subMap(int from,
int to) |
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.EmptySortedMap.subMap(int from,
int to) |
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.Singleton.subMap(int from,
int to) |
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.SynchronizedSortedMap.subMap(int from,
int to) |
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.UnmodifiableSortedMap.subMap(int from,
int to) |
Int2ReferenceSortedMap<V> |
Int2ReferenceLinkedOpenHashMap.subMap(int from,
int to)
Returns a view of the portion of this sorted map whose keys range from
fromKey, inclusive, to toKey, exclusive. |
static <V> Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.synchronize(Int2ReferenceSortedMap<V> m)
Returns a synchronized type-specific sorted map backed by the given type-specific sorted map.
|
static <V> Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.synchronize(Int2ReferenceSortedMap<V> m,
Object sync)
Returns a synchronized type-specific sorted map backed by the given type-specific sorted map, using an assigned object to synchronize.
|
Int2ReferenceSortedMap<V> |
Int2ReferenceRBTreeMap.tailMap(int from) |
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMap.tailMap(int fromKey)
Returns a view of the portion of this sorted map whose keys are greater than or equal to
fromKey. |
Int2ReferenceSortedMap<V> |
Int2ReferenceAVLTreeMap.tailMap(int from) |
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.EmptySortedMap.tailMap(int from) |
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.Singleton.tailMap(int from) |
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.SynchronizedSortedMap.tailMap(int from) |
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.UnmodifiableSortedMap.tailMap(int from) |
Int2ReferenceSortedMap<V> |
Int2ReferenceLinkedOpenHashMap.tailMap(int from)
Returns a view of the portion of this sorted map whose keys are greater than or equal to
fromKey. |
default Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMap.tailMap(Integer from)
Deprecated.
Please use the corresponding type-specific method instead.
|
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.EmptySortedMap.tailMap(Integer ofrom)
Deprecated.
Please use the corresponding type-specific method instead.
|
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.Singleton.tailMap(Integer ofrom)
Deprecated.
Please use the corresponding type-specific method instead.
|
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.SynchronizedSortedMap.tailMap(Integer from)
Deprecated.
Please use the corresponding type-specific method instead.
|
Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.UnmodifiableSortedMap.tailMap(Integer from)
Deprecated.
Please use the corresponding type-specific method instead.
|
static <V> Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.unmodifiable(Int2ReferenceSortedMap<V> m)
Returns an unmodifiable type-specific sorted map backed by the given type-specific sorted map.
|
| Modifier and Type | Method and Description |
|---|---|
static <V> ObjectBidirectionalIterable<Int2ReferenceMap.Entry<V>> |
Int2ReferenceSortedMaps.fastIterable(Int2ReferenceSortedMap<V> map)
|
static <V> ObjectBidirectionalIterator<Int2ReferenceMap.Entry<V>> |
Int2ReferenceSortedMaps.fastIterator(Int2ReferenceSortedMap<V> map)
|
static <V> Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.synchronize(Int2ReferenceSortedMap<V> m)
Returns a synchronized type-specific sorted map backed by the given type-specific sorted map.
|
static <V> Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.synchronize(Int2ReferenceSortedMap<V> m,
Object sync)
Returns a synchronized type-specific sorted map backed by the given type-specific sorted map, using an assigned object to synchronize.
|
static <V> Int2ReferenceSortedMap<V> |
Int2ReferenceSortedMaps.unmodifiable(Int2ReferenceSortedMap<V> m)
Returns an unmodifiable type-specific sorted map backed by the given type-specific sorted map.
|
| Constructor and Description |
|---|
Int2ReferenceAVLTreeMap(Int2ReferenceSortedMap<V> m)
Creates a new tree map copying a given sorted map (and its
Comparator). |
Int2ReferenceRBTreeMap(Int2ReferenceSortedMap<V> m)
Creates a new tree map copying a given sorted map (and its
Comparator). |
SynchronizedSortedMap(Int2ReferenceSortedMap<V> m) |
SynchronizedSortedMap(Int2ReferenceSortedMap<V> m,
Object sync) |
UnmodifiableSortedMap(Int2ReferenceSortedMap<V> m) |
Copyright © 2020. All rights reserved.