Index
All Classes and Interfaces|All Packages
A
- apply(K) - Method in class io.github.projectunified.valuevenue.core.CachedValueGenerator
-
Returns the active final values for the given key, in the order of its source value stream.
C
- CachedValueGenerator<K,
SV, - Class in io.github.projectunified.valuevenue.coreFV> -
Generates the final values for a key from source values, mapping and caching each source value once.
- CachedValueGenerator() - Constructor for class io.github.projectunified.valuevenue.core.CachedValueGenerator
E
- EnumValueGenerator<K,
SV, - Class in io.github.projectunified.valuevenue.coreFV> -
A
CachedValueGeneratorwhose source values are all constants of an enum. - EnumValueGenerator() - Constructor for class io.github.projectunified.valuevenue.core.EnumValueGenerator
G
- get(K) - Method in class io.github.projectunified.valuevenue.core.ValueVenue
-
Returns the values stored for the key by the last
update(Object)call. - getCachedValues() - Method in class io.github.projectunified.valuevenue.core.CachedValueGenerator
-
Returns a snapshot of the cache as source value to final value, including entries whose source value is not active and entries created by a key.
- getEnumType() - Method in class io.github.projectunified.valuevenue.core.EnumValueGenerator
-
Enum whose constants are the source values.
- getSourceValueStream() - Method in class io.github.projectunified.valuevenue.core.CachedValueGenerator
-
All source values the generator knows without a key, so
CachedValueGenerator.update()can create their cache entries upfront. - getSourceValueStream() - Method in class io.github.projectunified.valuevenue.core.EnumValueGenerator
- getSourceValueStream(K) - Method in class io.github.projectunified.valuevenue.core.CachedValueGenerator
-
Source values to expose for the given key.
I
- io.github.projectunified.valuevenue.core - package io.github.projectunified.valuevenue.core
- isSourceValueActivated(SV) - Method in class io.github.projectunified.valuevenue.core.CachedValueGenerator
-
Whether a source value is currently active.
- isValueActivated(FV, K) - Method in class io.github.projectunified.valuevenue.core.CachedValueGenerator
-
Whether a final value is exposed for the given key.
M
- mapToFinalValue(SV) - Method in class io.github.projectunified.valuevenue.core.CachedValueGenerator
-
Maps a source value to its final value.
U
- update() - Method in class io.github.projectunified.valuevenue.core.CachedValueGenerator
-
Creates the cache entries of all
common source valuesand refreshes the activation state of every cached entry, including entries created lazily for a key. - update(K) - Method in class io.github.projectunified.valuevenue.core.ValueVenue
-
Generates the values of the key and stores them, replacing any previous values.
V
- ValueVenue<K,
V> - Class in io.github.projectunified.valuevenue.core -
Holds the values generated for each key.
- ValueVenue(Function<K, List<V>>) - Constructor for class io.github.projectunified.valuevenue.core.ValueVenue
-
Creates a venue whose keys are updated through
update(Object).
All Classes and Interfaces|All Packages