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