| Package | Description |
|---|---|
| it.unimi.dsi.fastutil.objects |
Provides type-specific classes for object elements or keys.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Reference2ObjectMap<K,V>
A type-specific
Map; provides some additional methods that use polymorphism to avoid (un)boxing, and handling of a default return value. |
interface |
Reference2ObjectSortedMap<K,V>
A type-specific
SortedMap; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractReference2ObjectFunction<K,V>
An abstract class providing basic methods for functions implementing a type-specific interface.
|
class |
AbstractReference2ObjectMap<K,V>
An abstract class providing basic methods for maps implementing a type-specific interface.
|
class |
AbstractReference2ObjectSortedMap<K,V>
An abstract class providing basic methods for sorted maps implementing a type-specific interface.
|
class |
Reference2ObjectArrayMap<K,V>
A simple, brute-force implementation of a map based on two parallel backing arrays.
|
static class |
Reference2ObjectFunctions.EmptyFunction<K,V>
An immutable class representing an empty type-specific function.
|
static class |
Reference2ObjectFunctions.Singleton<K,V>
An immutable class representing a type-specific singleton function.
|
static class |
Reference2ObjectFunctions.SynchronizedFunction<K,V>
A synchronized wrapper class for functions.
|
static class |
Reference2ObjectFunctions.UnmodifiableFunction<K,V>
An unmodifiable wrapper class for functions.
|
class |
Reference2ObjectLinkedOpenHashMap<K,V>
A type-specific linked hash map with with a fast, small-footprint implementation.
|
static class |
Reference2ObjectMaps.EmptyMap<K,V>
An immutable class representing an empty type-specific map.
|
static class |
Reference2ObjectMaps.Singleton<K,V>
An immutable class representing a type-specific singleton map.
|
static class |
Reference2ObjectMaps.SynchronizedMap<K,V>
A synchronized wrapper class for maps.
|
static class |
Reference2ObjectMaps.UnmodifiableMap<K,V>
An unmodifiable wrapper class for maps.
|
class |
Reference2ObjectOpenCustomHashMap<K,V>
A type-specific hash map with a fast, small-footprint implementation whose hashing strategy
is specified at creation time.
|
class |
Reference2ObjectOpenHashMap<K,V>
A type-specific hash map with a fast, small-footprint implementation.
|
static class |
Reference2ObjectSortedMaps.EmptySortedMap<K,V>
An immutable class representing an empty type-specific sorted map.
|
static class |
Reference2ObjectSortedMaps.Singleton<K,V>
An immutable class representing a type-specific singleton sorted map.
|
static class |
Reference2ObjectSortedMaps.SynchronizedSortedMap<K,V>
A synchronized wrapper class for sorted maps.
|
static class |
Reference2ObjectSortedMaps.UnmodifiableSortedMap<K,V>
An unmodifiable wrapper class for sorted maps.
|
| Modifier and Type | Field and Description |
|---|---|
protected Reference2ObjectFunction<K,V> |
Reference2ObjectFunctions.SynchronizedFunction.function |
protected Reference2ObjectFunction<K,V> |
Reference2ObjectFunctions.UnmodifiableFunction.function |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> Reference2ObjectFunction<K,V> |
Reference2ObjectFunctions.singleton(K key,
V value)
Returns a type-specific immutable function containing only the specified pair.
|
static <K,V> Reference2ObjectFunction<K,V> |
Reference2ObjectFunctions.synchronize(Reference2ObjectFunction<K,V> f)
Returns a synchronized type-specific function backed by the given type-specific function.
|
static <K,V> Reference2ObjectFunction<K,V> |
Reference2ObjectFunctions.synchronize(Reference2ObjectFunction<K,V> f,
Object sync)
Returns a synchronized type-specific function backed by the given type-specific function, using an assigned object to synchronize.
|
static <K,V> Reference2ObjectFunction<K,V> |
Reference2ObjectFunctions.unmodifiable(Reference2ObjectFunction<K,V> f)
Returns an unmodifiable type-specific function backed by the given type-specific function.
|
| Modifier and Type | Method and Description |
|---|---|
static <K,V> Reference2ObjectFunction<K,V> |
Reference2ObjectFunctions.synchronize(Reference2ObjectFunction<K,V> f)
Returns a synchronized type-specific function backed by the given type-specific function.
|
static <K,V> Reference2ObjectFunction<K,V> |
Reference2ObjectFunctions.synchronize(Reference2ObjectFunction<K,V> f,
Object sync)
Returns a synchronized type-specific function backed by the given type-specific function, using an assigned object to synchronize.
|
static <K,V> Reference2ObjectFunction<K,V> |
Reference2ObjectFunctions.unmodifiable(Reference2ObjectFunction<K,V> f)
Returns an unmodifiable type-specific function backed by the given type-specific function.
|
| Constructor and Description |
|---|
SynchronizedFunction(Reference2ObjectFunction<K,V> f) |
SynchronizedFunction(Reference2ObjectFunction<K,V> f,
Object sync) |
UnmodifiableFunction(Reference2ObjectFunction<K,V> f) |
Copyright © 2020. All rights reserved.