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