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