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