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