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