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