| Package | Description |
|---|---|
| it.unimi.dsi.fastutil.objects |
Provides type-specific classes for object elements or keys.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractObject2IntSortedMap<K>
An abstract class providing basic methods for sorted maps implementing a type-specific interface.
|
class |
Object2IntAVLTreeMap<K>
A type-specific AVL tree map with a fast, small-footprint implementation.
|
class |
Object2IntLinkedOpenCustomHashMap<K>
A type-specific linked hash map with with a fast, small-footprint implementation.
|
class |
Object2IntLinkedOpenHashMap<K>
A type-specific linked hash map with with a fast, small-footprint implementation.
|
class |
Object2IntRBTreeMap<K>
A type-specific red-black tree map with a fast, small-footprint implementation.
|
static class |
Object2IntSortedMaps.EmptySortedMap<K>
An immutable class representing an empty type-specific sorted map.
|
static class |
Object2IntSortedMaps.Singleton<K>
An immutable class representing a type-specific singleton sorted map.
|
static class |
Object2IntSortedMaps.SynchronizedSortedMap<K>
A synchronized wrapper class for sorted maps.
|
static class |
Object2IntSortedMaps.UnmodifiableSortedMap<K>
An unmodifiable wrapper class for sorted maps.
|
| Modifier and Type | Field and Description |
|---|---|
protected Object2IntSortedMap<K> |
Object2IntSortedMaps.SynchronizedSortedMap.sortedMap |
protected Object2IntSortedMap<K> |
Object2IntSortedMaps.UnmodifiableSortedMap.sortedMap |
| Modifier and Type | Method and Description |
|---|---|
static <K> Object2IntSortedMap<K> |
Object2IntSortedMaps.emptyMap()
Returns an empty sorted map (immutable).
|
Object2IntSortedMap<K> |
Object2IntSortedMap.headMap(K toKey)
Returns a view of the portion of this sorted map whose keys are strictly less than
toKey. |
Object2IntSortedMap<K> |
Object2IntLinkedOpenHashMap.headMap(K to)
Returns a view of the portion of this sorted map whose keys are strictly less than
toKey. |
Object2IntSortedMap<K> |
Object2IntRBTreeMap.headMap(K to) |
Object2IntSortedMap<K> |
Object2IntSortedMaps.EmptySortedMap.headMap(K to) |
Object2IntSortedMap<K> |
Object2IntSortedMaps.Singleton.headMap(K to) |
Object2IntSortedMap<K> |
Object2IntSortedMaps.SynchronizedSortedMap.headMap(K to) |
Object2IntSortedMap<K> |
Object2IntSortedMaps.UnmodifiableSortedMap.headMap(K to) |
Object2IntSortedMap<K> |
Object2IntLinkedOpenCustomHashMap.headMap(K to)
Returns a view of the portion of this sorted map whose keys are strictly less than
toKey. |
Object2IntSortedMap<K> |
Object2IntAVLTreeMap.headMap(K to) |
static <K> Object2IntSortedMap<K> |
Object2IntSortedMaps.singleton(K key,
int value)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static <K> Object2IntSortedMap<K> |
Object2IntSortedMaps.singleton(K key,
int value,
Comparator<? super K> comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static <K> Object2IntSortedMap<K> |
Object2IntSortedMaps.singleton(K key,
Integer value)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static <K> Object2IntSortedMap<K> |
Object2IntSortedMaps.singleton(K key,
Integer value,
Comparator<? super K> comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
Object2IntSortedMap<K> |
Object2IntSortedMap.subMap(K fromKey,
K toKey)
Returns a view of the portion of this sorted map whose keys range from
fromKey, inclusive, to toKey, exclusive. |
Object2IntSortedMap<K> |
Object2IntLinkedOpenHashMap.subMap(K from,
K to)
Returns a view of the portion of this sorted map whose keys range from
fromKey, inclusive, to toKey, exclusive. |
Object2IntSortedMap<K> |
Object2IntRBTreeMap.subMap(K from,
K to) |
Object2IntSortedMap<K> |
Object2IntSortedMaps.EmptySortedMap.subMap(K from,
K to) |
Object2IntSortedMap<K> |
Object2IntSortedMaps.Singleton.subMap(K from,
K to) |
Object2IntSortedMap<K> |
Object2IntSortedMaps.SynchronizedSortedMap.subMap(K from,
K to) |
Object2IntSortedMap<K> |
Object2IntSortedMaps.UnmodifiableSortedMap.subMap(K from,
K to) |
Object2IntSortedMap<K> |
Object2IntLinkedOpenCustomHashMap.subMap(K from,
K to)
Returns a view of the portion of this sorted map whose keys range from
fromKey, inclusive, to toKey, exclusive. |
Object2IntSortedMap<K> |
Object2IntAVLTreeMap.subMap(K from,
K to) |
static <K> Object2IntSortedMap<K> |
Object2IntSortedMaps.synchronize(Object2IntSortedMap<K> m)
Returns a synchronized type-specific sorted map backed by the given type-specific sorted map.
|
static <K> Object2IntSortedMap<K> |
Object2IntSortedMaps.synchronize(Object2IntSortedMap<K> m,
Object sync)
Returns a synchronized type-specific sorted map backed by the given type-specific sorted map, using an assigned object to synchronize.
|
Object2IntSortedMap<K> |
Object2IntSortedMap.tailMap(K fromKey)
Returns a view of the portion of this sorted map whose keys are greater than or equal to
fromKey. |
Object2IntSortedMap<K> |
Object2IntLinkedOpenHashMap.tailMap(K from)
Returns a view of the portion of this sorted map whose keys are greater than or equal to
fromKey. |
Object2IntSortedMap<K> |
Object2IntRBTreeMap.tailMap(K from) |
Object2IntSortedMap<K> |
Object2IntSortedMaps.EmptySortedMap.tailMap(K from) |
Object2IntSortedMap<K> |
Object2IntSortedMaps.Singleton.tailMap(K from) |
Object2IntSortedMap<K> |
Object2IntSortedMaps.SynchronizedSortedMap.tailMap(K from) |
Object2IntSortedMap<K> |
Object2IntSortedMaps.UnmodifiableSortedMap.tailMap(K from) |
Object2IntSortedMap<K> |
Object2IntLinkedOpenCustomHashMap.tailMap(K from)
Returns a view of the portion of this sorted map whose keys are greater than or equal to
fromKey. |
Object2IntSortedMap<K> |
Object2IntAVLTreeMap.tailMap(K from) |
static <K> Object2IntSortedMap<K> |
Object2IntSortedMaps.unmodifiable(Object2IntSortedMap<K> m)
Returns an unmodifiable type-specific sorted map backed by the given type-specific sorted map.
|
| Modifier and Type | Method and Description |
|---|---|
static <K> ObjectBidirectionalIterable<Object2IntMap.Entry<K>> |
Object2IntSortedMaps.fastIterable(Object2IntSortedMap<K> map)
|
static <K> ObjectBidirectionalIterator<Object2IntMap.Entry<K>> |
Object2IntSortedMaps.fastIterator(Object2IntSortedMap<K> map)
|
static <K> Object2IntSortedMap<K> |
Object2IntSortedMaps.synchronize(Object2IntSortedMap<K> m)
Returns a synchronized type-specific sorted map backed by the given type-specific sorted map.
|
static <K> Object2IntSortedMap<K> |
Object2IntSortedMaps.synchronize(Object2IntSortedMap<K> 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 <K> Object2IntSortedMap<K> |
Object2IntSortedMaps.unmodifiable(Object2IntSortedMap<K> m)
Returns an unmodifiable type-specific sorted map backed by the given type-specific sorted map.
|
| Constructor and Description |
|---|
Object2IntAVLTreeMap(Object2IntSortedMap<K> m)
Creates a new tree map copying a given sorted map (and its
Comparator). |
Object2IntRBTreeMap(Object2IntSortedMap<K> m)
Creates a new tree map copying a given sorted map (and its
Comparator). |
SynchronizedSortedMap(Object2IntSortedMap<K> m) |
SynchronizedSortedMap(Object2IntSortedMap<K> m,
Object sync) |
UnmodifiableSortedMap(Object2IntSortedMap<K> m) |
Copyright © 2020. All rights reserved.