A C D G I K M O R S U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- Adaptable<S,D> - Interface in com.rezzedup.util.valuables
-
Represents something capable of being adapted.
- AdaptedKeyValue<S,K,O,V> - Interface in com.rezzedup.util.valuables
-
A value that's associated with a key and must be adapted to and from storage.
- AdaptedValue<S,O,V> - Interface in com.rezzedup.util.valuables
-
A value that must be adapted to and from storage.
- adapter() - Method in interface com.rezzedup.util.valuables.Adaptable
-
Gets the adapter.
- Adapter<S,D> - Interface in com.rezzedup.util.valuables
-
Combines a serializer with a compatible deserializer.
- Adapter.StandardSet<S> - Interface in com.rezzedup.util.valuables
-
A collection of standard adapters.
C
- cast(Predicate<S>) - Static method in interface com.rezzedup.util.valuables.Adapter
-
Adapts objects by casting if they're compatible.
- com.rezzedup.util.valuables - module com.rezzedup.util.valuables
-
Valuables
- com.rezzedup.util.valuables - package com.rezzedup.util.valuables
-
Abstractions and utilities for getting, setting, and composing values.
D
- Defaultable<V> - Interface in com.rezzedup.util.valuables
-
Represents a default value.
- DefaultAdaptedKeyValue<S,K,O,V> - Interface in com.rezzedup.util.valuables
-
A value that's associated with a default fallback, a key, and must be adapted to and from storage.
- DefaultAdaptedValue<S,O,V> - Interface in com.rezzedup.util.valuables
-
A value that's associated with a default fallback and must be adapted to and from storage.
- DefaultGetter<S,V> - Interface in com.rezzedup.util.valuables
-
Gets a value from storage or a default fallback.
- DefaultKeyValue<S,K,V> - Interface in com.rezzedup.util.valuables
-
A value associated with a default fallback and a key.
- DefaultSetter<S,V> - Interface in com.rezzedup.util.valuables
-
Sets a value in storage with options for default values.
- DefaultValue<S,V> - Interface in com.rezzedup.util.valuables
-
A value associated with a default fallback.
- deserialize(S) - Method in interface com.rezzedup.util.valuables.Deserializer
-
Deserializes the provided object.
- Deserializer<S,D> - Interface in com.rezzedup.util.valuables
-
Deserializes an object.
G
- get(S) - Method in interface com.rezzedup.util.valuables.Getter
-
Gets the possible value from storage.
- get(S, K) - Method in interface com.rezzedup.util.valuables.KeyGetter
-
Gets a possible value from storage at the specified key.
- getDefaultValue() - Method in interface com.rezzedup.util.valuables.Defaultable
-
Gets the default value.
- getOrDefault(S) - Method in interface com.rezzedup.util.valuables.DefaultGetter
-
Gets a value from storage or the default fallback value if it doesn't exist.
- Getter<S,V> - Interface in com.rezzedup.util.valuables
-
Gets a possible value from storage.
I
- identity() - Static method in interface com.rezzedup.util.valuables.Adapter
-
Gets an adapter that simply returns the input.
- intoBigDecimal() - Method in interface com.rezzedup.util.valuables.Adapter.StandardSet
-
Adapts from the serialized type into big decimals and vice versa.
- intoBigInteger() - Method in interface com.rezzedup.util.valuables.Adapter.StandardSet
-
Adapts from the serialized type into big integers and vice versa.
- intoBoolean() - Method in interface com.rezzedup.util.valuables.Adapter.StandardSet
-
Adapts from the serialized type into booleans and vice versa.
- intoByte() - Method in interface com.rezzedup.util.valuables.Adapter.StandardSet
-
Adapts from the serialized type into bytes and vice versa.
- intoCharacter() - Method in interface com.rezzedup.util.valuables.Adapter.StandardSet
-
Adapts from the serialized type into characters and vice versa.
- intoDouble() - Method in interface com.rezzedup.util.valuables.Adapter.StandardSet
-
Adapts from the serialized type into doubles and vice versa.
- intoEnum(Class<E>) - Method in interface com.rezzedup.util.valuables.Adapter.StandardSet
-
Adapts from the serialized type into enums and vice versa.
- intoFloat() - Method in interface com.rezzedup.util.valuables.Adapter.StandardSet
-
Adapts from the serialized type into floats and vice versa.
- intoInteger() - Method in interface com.rezzedup.util.valuables.Adapter.StandardSet
-
Adapts from the serialized type into integers and vice versa.
- intoLong() - Method in interface com.rezzedup.util.valuables.Adapter.StandardSet
-
Adapts from the serialized type into longs and vice versa.
- intoShort() - Method in interface com.rezzedup.util.valuables.Adapter.StandardSet
-
Adapts from the serialized type into shorts and vice versa.
- intoString() - Method in interface com.rezzedup.util.valuables.Adapter.StandardSet
-
Adapts from the serialized type into strings and vice versa.
- intoUuid() - Method in interface com.rezzedup.util.valuables.Adapter.StandardSet
-
Adapts from the serialized type into UUIDs and vice versa.
K
- key() - Method in interface com.rezzedup.util.valuables.KeyHolder
-
Gets the key.
- KeyGetter<S,K,V> - Interface in com.rezzedup.util.valuables
-
Gets a possible value from storage at a specified key.
- KeyHolder<K> - Interface in com.rezzedup.util.valuables
-
Represents an association with a key.
- KeySetter<S,K,V> - Interface in com.rezzedup.util.valuables
-
Sets a value in storage at a specified key.
- KeyValue<S,K,V> - Interface in com.rezzedup.util.valuables
-
A value associated with a particular key.
M
- maybe(BiFunction<S, K, V>) - Static method in interface com.rezzedup.util.valuables.KeyGetter
-
Converts a direct key getter into an optional key getter.
- maybe(Function<S, V>) - Static method in interface com.rezzedup.util.valuables.Getter
-
Converts a direct getter into an optional getter.
O
- of(Adapter<O, V>, KeyValue<S, K, O>) - Static method in interface com.rezzedup.util.valuables.AdaptedKeyValue
-
Creates a new
AdaptedKeyValueby delegating to the provided arguments. - of(Adapter<O, V>, Value<S, O>) - Static method in interface com.rezzedup.util.valuables.AdaptedValue
-
Creates a new
AdaptedValueby delegating to the provided arguments. - of(Deserializer<S, D>, Serializer<D, S>) - Static method in interface com.rezzedup.util.valuables.Adapter
-
Creates a new
Adapterby delegating to the provided arguments. - of(Getter<S, V>, Setter<S, V>) - Static method in interface com.rezzedup.util.valuables.Value
-
Creates a new
Valueby delegating to the provided arguments. - of(K, KeyGetter<S, K, V>, KeySetter<S, K, V>) - Static method in interface com.rezzedup.util.valuables.KeyValue
-
Creates a new
KeyValueby delegating to the provided arguments. - of(V, AdaptedKeyValue<S, K, O, V>) - Static method in interface com.rezzedup.util.valuables.DefaultAdaptedKeyValue
-
Creates a new
DefaultAdaptedKeyValueby delegating to the provided arguments. - of(V, AdaptedValue<S, O, V>) - Static method in interface com.rezzedup.util.valuables.DefaultAdaptedValue
-
Creates a new
DefaultAdaptedValueby delegating to the provided arguments. - of(V, KeyValue<S, K, V>) - Static method in interface com.rezzedup.util.valuables.DefaultKeyValue
-
Creates a new
DefaultKeyValueby delegating to the provided arguments. - of(V, Value<S, V>) - Static method in interface com.rezzedup.util.valuables.DefaultValue
-
Creates a new
DefaultValueby delegating to the provided arguments. - ofObject() - Static method in interface com.rezzedup.util.valuables.Adapter
-
Gets standard adapters for casting objects.
- ofString() - Static method in interface com.rezzedup.util.valuables.Adapter
-
Gets standard adapters for serialized strings.
R
- remove(S) - Method in interface com.rezzedup.util.valuables.Setter
-
Removes the value from the provided storage.
- remove(S, K) - Method in interface com.rezzedup.util.valuables.KeySetter
-
Removes the value from the provided storage at the specified key.
S
- serialize(D) - Method in interface com.rezzedup.util.valuables.Serializer
-
Serializes the provided object.
- Serializer<D,S> - Interface in com.rezzedup.util.valuables
-
Serializes an object.
- set(S, V) - Method in interface com.rezzedup.util.valuables.Setter
-
Sets the value within the provided storage to the input value or removes it if it's
null. - set(S, K, V) - Method in interface com.rezzedup.util.valuables.KeySetter
-
Sets the value within the provided storage at the specified key to the input value or removes it if it's
null. - setAsDefault(S) - Method in interface com.rezzedup.util.valuables.DefaultSetter
-
Sets the value in storage to the default value.
- setAsDefault(S) - Method in interface com.rezzedup.util.valuables.DefaultValue
- setAsDefaultIfUnset(S) - Method in interface com.rezzedup.util.valuables.DefaultSetter
-
Sets the value in storage to the default value if there isn't already an existing value yet.
- setAsDefaultIfUnset(S) - Method in interface com.rezzedup.util.valuables.DefaultValue
- Setter<S,V> - Interface in com.rezzedup.util.valuables
-
Sets a value in storage.
U
- unsupported() - Static method in interface com.rezzedup.util.valuables.Adapter
-
Gets an adapter that always returns
Optional.empty()for both deserialization and serialization.
V
- Value<S,V> - Interface in com.rezzedup.util.valuables
-
A value represented by a getter and a setter.
All Classes All Packages