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