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