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