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