| Package | Description |
|---|---|
| it.unimi.dsi.fastutil.chars |
Provides type-specific classes for character elements or keys.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Char2BooleanMap
A type-specific
Map; provides some additional methods that use polymorphism to avoid (un)boxing, and handling of a default return value. |
interface |
Char2BooleanSortedMap
A type-specific
SortedMap; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractChar2BooleanFunction
An abstract class providing basic methods for functions implementing a type-specific interface.
|
class |
AbstractChar2BooleanMap
An abstract class providing basic methods for maps implementing a type-specific interface.
|
class |
AbstractChar2BooleanSortedMap
An abstract class providing basic methods for sorted maps implementing a type-specific interface.
|
class |
Char2BooleanArrayMap
A simple, brute-force implementation of a map based on two parallel backing arrays.
|
class |
Char2BooleanAVLTreeMap
A type-specific AVL tree map with a fast, small-footprint implementation.
|
static class |
Char2BooleanFunctions.EmptyFunction
An immutable class representing an empty type-specific function.
|
static class |
Char2BooleanFunctions.PrimitiveFunction
An adapter for mapping generic total functions to partial primitive functions.
|
static class |
Char2BooleanFunctions.Singleton
An immutable class representing a type-specific singleton function.
|
static class |
Char2BooleanFunctions.SynchronizedFunction
A synchronized wrapper class for functions.
|
static class |
Char2BooleanFunctions.UnmodifiableFunction
An unmodifiable wrapper class for functions.
|
class |
Char2BooleanLinkedOpenHashMap
A type-specific linked hash map with with a fast, small-footprint implementation.
|
static class |
Char2BooleanMaps.EmptyMap
An immutable class representing an empty type-specific map.
|
static class |
Char2BooleanMaps.Singleton
An immutable class representing a type-specific singleton map.
|
static class |
Char2BooleanMaps.SynchronizedMap
A synchronized wrapper class for maps.
|
static class |
Char2BooleanMaps.UnmodifiableMap
An unmodifiable wrapper class for maps.
|
class |
Char2BooleanOpenCustomHashMap
A type-specific hash map with a fast, small-footprint implementation whose hashing strategy
is specified at creation time.
|
class |
Char2BooleanOpenHashMap
A type-specific hash map with a fast, small-footprint implementation.
|
class |
Char2BooleanRBTreeMap
A type-specific red-black tree map with a fast, small-footprint implementation.
|
static class |
Char2BooleanSortedMaps.EmptySortedMap
An immutable class representing an empty type-specific sorted map.
|
static class |
Char2BooleanSortedMaps.Singleton
An immutable class representing a type-specific singleton sorted map.
|
static class |
Char2BooleanSortedMaps.SynchronizedSortedMap
A synchronized wrapper class for sorted maps.
|
static class |
Char2BooleanSortedMaps.UnmodifiableSortedMap
An unmodifiable wrapper class for sorted maps.
|
| Modifier and Type | Field and Description |
|---|---|
protected Char2BooleanFunction |
Char2BooleanFunctions.SynchronizedFunction.function |
protected Char2BooleanFunction |
Char2BooleanFunctions.UnmodifiableFunction.function |
| Modifier and Type | Method and Description |
|---|---|
static Char2BooleanFunction |
Char2BooleanFunctions.primitive(Function<? super Character,? extends Boolean> f)
Returns a (partial) type-specific function based on the given total generic function.
|
static Char2BooleanFunction |
Char2BooleanFunctions.singleton(Character key,
Boolean value)
Returns a type-specific immutable function containing only the specified pair.
|
static Char2BooleanFunction |
Char2BooleanFunctions.singleton(char key,
boolean value)
Returns a type-specific immutable function containing only the specified pair.
|
static Char2BooleanFunction |
Char2BooleanFunctions.synchronize(Char2BooleanFunction f)
Returns a synchronized type-specific function backed by the given type-specific function.
|
static Char2BooleanFunction |
Char2BooleanFunctions.synchronize(Char2BooleanFunction f,
Object sync)
Returns a synchronized type-specific function backed by the given type-specific function, using an assigned object to synchronize.
|
static Char2BooleanFunction |
Char2BooleanFunctions.unmodifiable(Char2BooleanFunction f)
Returns an unmodifiable type-specific function backed by the given type-specific function.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Char2BooleanMaps.SynchronizedMap.computeIfAbsentPartial(char key,
Char2BooleanFunction mappingFunction) |
boolean |
Char2BooleanMaps.UnmodifiableMap.computeIfAbsentPartial(char key,
Char2BooleanFunction mappingFunction) |
default boolean |
Char2BooleanMap.computeIfAbsentPartial(char key,
Char2BooleanFunction mappingFunction)
If the specified key is not already associated with a value, attempts to compute its value
using the given mapping function and enters it into this map, unless the key is not present
in the given mapping function.
|
static Char2BooleanFunction |
Char2BooleanFunctions.synchronize(Char2BooleanFunction f)
Returns a synchronized type-specific function backed by the given type-specific function.
|
static Char2BooleanFunction |
Char2BooleanFunctions.synchronize(Char2BooleanFunction f,
Object sync)
Returns a synchronized type-specific function backed by the given type-specific function, using an assigned object to synchronize.
|
static Char2BooleanFunction |
Char2BooleanFunctions.unmodifiable(Char2BooleanFunction f)
Returns an unmodifiable type-specific function backed by the given type-specific function.
|
| Constructor and Description |
|---|
SynchronizedFunction(Char2BooleanFunction f) |
SynchronizedFunction(Char2BooleanFunction f,
Object sync) |
UnmodifiableFunction(Char2BooleanFunction f) |
Copyright © 2020. All rights reserved.