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