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