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