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