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