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