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