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