| Package | Description |
|---|---|
| it.unimi.dsi.fastutil.objects |
Provides type-specific classes for object elements or keys.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Reference2ShortSortedMap<K>
A type-specific
SortedMap; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractReference2ShortMap<K>
An abstract class providing basic methods for maps implementing a type-specific interface.
|
class |
AbstractReference2ShortSortedMap<K>
An abstract class providing basic methods for sorted maps implementing a type-specific interface.
|
class |
Reference2ShortArrayMap<K>
A simple, brute-force implementation of a map based on two parallel backing arrays.
|
class |
Reference2ShortLinkedOpenHashMap<K>
A type-specific linked hash map with with a fast, small-footprint implementation.
|
static class |
Reference2ShortMaps.EmptyMap<K>
An immutable class representing an empty type-specific map.
|
static class |
Reference2ShortMaps.Singleton<K>
An immutable class representing a type-specific singleton map.
|
static class |
Reference2ShortMaps.SynchronizedMap<K>
A synchronized wrapper class for maps.
|
static class |
Reference2ShortMaps.UnmodifiableMap<K>
An unmodifiable wrapper class for maps.
|
class |
Reference2ShortOpenHashMap<K>
A type-specific hash map with a fast, small-footprint implementation.
|
static class |
Reference2ShortSortedMaps.EmptySortedMap<K>
An immutable class representing an empty type-specific sorted map.
|
static class |
Reference2ShortSortedMaps.Singleton<K>
An immutable class representing a type-specific singleton sorted map.
|
static class |
Reference2ShortSortedMaps.SynchronizedSortedMap<K>
A synchronized wrapper class for sorted maps.
|
static class |
Reference2ShortSortedMaps.UnmodifiableSortedMap<K>
An unmodifiable wrapper class for sorted maps.
|
| Modifier and Type | Field and Description |
|---|---|
protected Reference2ShortMap<K> |
Reference2ShortMaps.SynchronizedMap.map |
protected Reference2ShortMap<K> |
Reference2ShortMaps.UnmodifiableMap.map |
| Modifier and Type | Method and Description |
|---|---|
static <K> Reference2ShortMap<K> |
Reference2ShortMaps.singleton(K key,
short value)
Returns a type-specific immutable map containing only the specified pair.
|
static <K> Reference2ShortMap<K> |
Reference2ShortMaps.singleton(K key,
Short value)
Returns a type-specific immutable map containing only the specified pair.
|
static <K> Reference2ShortMap<K> |
Reference2ShortMaps.synchronize(Reference2ShortMap<K> m)
Returns a synchronized type-specific map backed by the given type-specific map.
|
static <K> Reference2ShortMap<K> |
Reference2ShortMaps.synchronize(Reference2ShortMap<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> Reference2ShortMap<K> |
Reference2ShortMaps.unmodifiable(Reference2ShortMap<K> m)
Returns an unmodifiable type-specific map backed by the given type-specific map.
|
| Modifier and Type | Method and Description |
|---|---|
static <K> Reference2ShortMap<K> |
Reference2ShortMaps.synchronize(Reference2ShortMap<K> m)
Returns a synchronized type-specific map backed by the given type-specific map.
|
static <K> Reference2ShortMap<K> |
Reference2ShortMaps.synchronize(Reference2ShortMap<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> Reference2ShortMap<K> |
Reference2ShortMaps.unmodifiable(Reference2ShortMap<K> m)
Returns an unmodifiable type-specific map backed by the given type-specific map.
|
| Constructor and Description |
|---|
Reference2ShortArrayMap(Reference2ShortMap<K> m)
Creates a new empty array map copying the entries of a given map.
|
Reference2ShortLinkedOpenHashMap(Reference2ShortMap<K> m)
Creates a new hash map with
Hash.DEFAULT_LOAD_FACTOR as load factor copying a given type-specific one. |
Reference2ShortLinkedOpenHashMap(Reference2ShortMap<K> m,
float f)
Creates a new hash map copying a given type-specific one.
|
Reference2ShortMaps.SynchronizedMap(Reference2ShortMap<K> m) |
Reference2ShortMaps.SynchronizedMap(Reference2ShortMap<K> m,
Object sync) |
Reference2ShortMaps.UnmodifiableMap(Reference2ShortMap<K> m) |
Reference2ShortOpenHashMap(Reference2ShortMap<K> m)
Creates a new hash map with
Hash.DEFAULT_LOAD_FACTOR as load factor copying a given type-specific one. |
Reference2ShortOpenHashMap(Reference2ShortMap<K> m,
float f)
Creates a new hash map copying a given type-specific one.
|
Copyright © 2013. All Rights Reserved.