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