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