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