| Package | Description |
|---|---|
| it.unimi.dsi.fastutil.doubles |
Provides type-specific classes for double elements or keys.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Double2CharSortedMap
A type-specific
SortedMap; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDouble2CharMap
An abstract class providing basic methods for maps implementing a type-specific interface.
|
class |
AbstractDouble2CharSortedMap
An abstract class providing basic methods for sorted maps implementing a type-specific interface.
|
class |
Double2CharArrayMap
A simple, brute-force implementation of a map based on two parallel backing arrays.
|
class |
Double2CharAVLTreeMap
A type-specific AVL tree map with a fast, small-footprint implementation.
|
class |
Double2CharLinkedOpenHashMap
A type-specific linked hash map with with a fast, small-footprint implementation.
|
static class |
Double2CharMaps.EmptyMap
An immutable class representing an empty type-specific map.
|
static class |
Double2CharMaps.Singleton
An immutable class representing a type-specific singleton map.
|
static class |
Double2CharMaps.SynchronizedMap
A synchronized wrapper class for maps.
|
static class |
Double2CharMaps.UnmodifiableMap
An unmodifiable wrapper class for maps.
|
class |
Double2CharOpenCustomHashMap
A type-specific hash map with a fast, small-footprint implementation whose hashing strategy
is specified at creation time.
|
class |
Double2CharOpenHashMap
A type-specific hash map with a fast, small-footprint implementation.
|
class |
Double2CharRBTreeMap
A type-specific red-black tree map with a fast, small-footprint implementation.
|
static class |
Double2CharSortedMaps.EmptySortedMap
An immutable class representing an empty type-specific sorted map.
|
static class |
Double2CharSortedMaps.Singleton
An immutable class representing a type-specific singleton sorted map.
|
static class |
Double2CharSortedMaps.SynchronizedSortedMap
A synchronized wrapper class for sorted maps.
|
static class |
Double2CharSortedMaps.UnmodifiableSortedMap
An unmodifiable wrapper class for sorted maps.
|
| Modifier and Type | Field and Description |
|---|---|
protected Double2CharMap |
AbstractDouble2CharMap.BasicEntrySet.map |
protected Double2CharMap |
Double2CharMaps.SynchronizedMap.map |
protected Double2CharMap |
Double2CharMaps.UnmodifiableMap.map |
| Modifier and Type | Method and Description |
|---|---|
static Double2CharMap |
Double2CharMaps.singleton(double key,
char value)
Returns a type-specific immutable map containing only the specified pair.
|
static Double2CharMap |
Double2CharMaps.singleton(Double key,
Character value)
Returns a type-specific immutable map containing only the specified pair.
|
static Double2CharMap |
Double2CharMaps.synchronize(Double2CharMap m)
Returns a synchronized type-specific map backed by the given type-specific map.
|
static Double2CharMap |
Double2CharMaps.synchronize(Double2CharMap m,
Object sync)
Returns a synchronized type-specific map backed by the given type-specific map, using an assigned object to synchronize.
|
static Double2CharMap |
Double2CharMaps.unmodifiable(Double2CharMap m)
Returns an unmodifiable type-specific map backed by the given type-specific map.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Double2CharMaps.fastForEach(Double2CharMap map,
Consumer<? super Double2CharMap.Entry> consumer)
|
static ObjectIterable<Double2CharMap.Entry> |
Double2CharMaps.fastIterable(Double2CharMap map)
|
static ObjectIterator<Double2CharMap.Entry> |
Double2CharMaps.fastIterator(Double2CharMap map)
|
static Double2CharMap |
Double2CharMaps.synchronize(Double2CharMap m)
Returns a synchronized type-specific map backed by the given type-specific map.
|
static Double2CharMap |
Double2CharMaps.synchronize(Double2CharMap m,
Object sync)
Returns a synchronized type-specific map backed by the given type-specific map, using an assigned object to synchronize.
|
static Double2CharMap |
Double2CharMaps.unmodifiable(Double2CharMap m)
Returns an unmodifiable type-specific map backed by the given type-specific map.
|
| Constructor and Description |
|---|
BasicEntrySet(Double2CharMap map) |
Double2CharArrayMap(Double2CharMap m)
Creates a new empty array map copying the entries of a given map.
|
Double2CharAVLTreeMap(Double2CharMap m)
Creates a new tree map copying a given map.
|
Double2CharLinkedOpenHashMap(Double2CharMap m)
Creates a new hash map with
Hash.DEFAULT_LOAD_FACTOR as load factor copying a given type-specific one. |
Double2CharLinkedOpenHashMap(Double2CharMap m,
float f)
Creates a new hash map copying a given type-specific one.
|
Double2CharOpenCustomHashMap(Double2CharMap m,
DoubleHash.Strategy strategy)
Creates a new hash map with
Hash.DEFAULT_LOAD_FACTOR as load factor copying a given type-specific one. |
Double2CharOpenCustomHashMap(Double2CharMap m,
float f,
DoubleHash.Strategy strategy)
Creates a new hash map copying a given type-specific one.
|
Double2CharOpenHashMap(Double2CharMap m)
Creates a new hash map with
Hash.DEFAULT_LOAD_FACTOR as load factor copying a given type-specific one. |
Double2CharOpenHashMap(Double2CharMap m,
float f)
Creates a new hash map copying a given type-specific one.
|
Double2CharRBTreeMap(Double2CharMap m)
Creates a new tree map copying a given map.
|
SynchronizedMap(Double2CharMap m) |
SynchronizedMap(Double2CharMap m,
Object sync) |
UnmodifiableMap(Double2CharMap m) |
Copyright © 2020. All rights reserved.