| Modifier and Type | Interface and Description |
|---|---|
interface |
Unvalidated<T> |
interface |
ValueSink<T> |
interface |
ValueSource<T> |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableUnvalidated<T>
Immutable implementation of
Unvalidated. |
| Modifier and Type | Method and Description |
|---|---|
Set<Value<?>> |
ValueContainer.keys() |
protected com.google.common.collect.ImmutableSet<Value<?>> |
ImmutableValueContainer.nullValues() |
protected abstract Set<Value<?>> |
ValueContainer.nullValues() |
protected com.google.common.collect.ImmutableMap<Value<?>,Object> |
ImmutableValueContainer.values() |
protected abstract Map<Value<?>,Object> |
ValueContainer.values() |
| Modifier and Type | Method and Description |
|---|---|
<T> ValueContainer |
ValueContainer.add(Value<T> id,
T value) |
ImmutableValueContainer.Builder |
ImmutableValueContainer.Builder.addNullValues(Value<?>... elements)
Adds elements to
nullValues set. |
ImmutableValueContainer.Builder |
ImmutableValueContainer.Builder.addNullValues(Value<?> element)
Adds one element to
nullValues set. |
<T> T |
ValueContainer.get(Value<T> id) |
ImmutableValueContainer.Builder |
ImmutableValueContainer.Builder.putValues(Value<?> key,
Object value)
Put one entry to the
values map. |
ImmutableValueContainer |
ImmutableValueContainer.withNullValues(Value<?>... elements)
Copy the current immutable object with elements that replace the content of
nullValues. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableValueContainer.Builder |
ImmutableValueContainer.Builder.addAllNullValues(Iterable<? extends Value<?>> elements)
Adds elements to
nullValues set. |
ImmutableValueContainer.Builder |
ImmutableValueContainer.Builder.nullValues(Iterable<? extends Value<?>> elements)
Sets or replaces all elements for
nullValues set. |
ImmutableValueContainer.Builder |
ImmutableValueContainer.Builder.putAllValues(Map<? extends Value<?>,? extends Object> entries)
Put all mappings from the specified map as entries to
values map. |
ImmutableValueContainer.Builder |
ImmutableValueContainer.Builder.putValues(Map.Entry<? extends Value<?>,? extends Object> entry)
Put one entry to the
values map. |
ImmutableValueContainer.Builder |
ImmutableValueContainer.Builder.values(Map<? extends Value<?>,? extends Object> entries)
Sets or replaces all mappings from the specified map as entries for the
values map. |
ImmutableValueContainer |
ImmutableValueContainer.withNullValues(Iterable<? extends Value<?>> elements)
Copy the current immutable object with elements that replace the content of
nullValues. |
ImmutableValueContainer |
ImmutableValueContainer.withValues(Map<? extends Value<?>,? extends Object> entries)
Copy the current immutable object by replacing the
values map with the specified map. |
| Modifier and Type | Method and Description |
|---|---|
Value<D> |
Calculation.destination() |
Value<T> |
ImmutableMappedValue.id() |
Value<T> |
MappedValue.id() |
| Modifier and Type | Method and Description |
|---|---|
protected Set<Value<?>> |
ImmutableStrictValueLookup.nullValues()
Returns a lazily initialized value of the
nullValues attribute. |
protected Set<Value<?>> |
StrictValueLookup.nullValues() |
protected Map<Value<?>,Object> |
ImmutableStrictValueLookup.values()
Returns a lazily initialized value of the
values attribute. |
protected Map<Value<?>,Object> |
StrictValueLookup.values() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ValueLookup.get(Value<T> id) |
<T> T |
StrictValueLookup.get(Value<T> id) |
ImmutableMappedValue.Builder<T> |
ImmutableMappedValue.Builder.id(Value<T> id)
Initializes the value for the
id attribute. |
static <T> ImmutableMappedValue<T> |
ImmutableMappedValue.of(Value<T> id,
T value)
Construct a new immutable
MappedValue instance. |
static <T> MappedValue<T> |
MappedValue.of(Value<T> id,
T value) |
ImmutableMappedValue<T> |
ImmutableMappedValue.withId(Value<T> value)
Copy the current immutable object by setting a value for the
id attribute. |
| Modifier and Type | Method and Description |
|---|---|
Value<X> |
ImmutableMerge2.destination() |
Value<X> |
ImmutableMap1.destination() |
Value<X> |
ImmutableMerge3.destination() |
Value<X> |
ImmutableMerge4.destination() |
Value<X> |
ImmutableAggregated.destination() |
Value<X> |
ImmutableMerge5.destination() |
| Modifier and Type | Method and Description |
|---|---|
static <S,X> ImmutableAggregated<S,X> |
ImmutableAggregated.of(Value<X> destination,
Iterable<? extends ValueSource<S>> sourceList,
FN1<List<S>,X> aggregation)
Construct a new immutable
Aggregated instance. |
static <S,X> ImmutableAggregated<S,X> |
ImmutableAggregated.of(Value<X> destination,
List<ValueSource<S>> sourceList,
FN1<List<S>,X> aggregation)
Construct a new immutable
Aggregated instance. |
static <A,X> ImmutableMap1<A,X> |
ImmutableMap1.of(Value<X> destination,
ValueSource<A> source,
FN1<A,X> transformation)
Construct a new immutable
Map1 instance. |
static <A,B,X> ImmutableMerge2<A,B,X> |
ImmutableMerge2.of(Value<X> destination,
ValueSource<A> a,
ValueSource<B> b,
FN2<A,B,X> transformation)
Construct a new immutable
Merge2 instance. |
static <A,B,C,X> ImmutableMerge3<A,B,C,X> |
ImmutableMerge3.of(Value<X> destination,
ValueSource<A> a,
ValueSource<B> b,
ValueSource<C> c,
FN3<A,B,C,X> transformation)
Construct a new immutable
Merge3 instance. |
static <A,B,C,D,X> |
ImmutableMerge4.of(Value<X> destination,
ValueSource<A> a,
ValueSource<B> b,
ValueSource<C> c,
ValueSource<D> d,
FN4<A,B,C,D,X> transformation)
Construct a new immutable
Merge4 instance. |
static <A,B,C,D,E,X> |
ImmutableMerge5.of(Value<X> destination,
ValueSource<A> a,
ValueSource<B> b,
ValueSource<C> c,
ValueSource<D> d,
ValueSource<E> e,
FN5<A,B,C,D,E,X> transformation)
Construct a new immutable
Merge5 instance. |
ImmutableMerge2<A,B,X> |
ImmutableMerge2.withDestination(Value<X> value)
Copy the current immutable object by setting a value for the
destination attribute. |
ImmutableMap1<A,X> |
ImmutableMap1.withDestination(Value<X> value)
Copy the current immutable object by setting a value for the
destination attribute. |
ImmutableMerge3<A,B,C,X> |
ImmutableMerge3.withDestination(Value<X> value)
Copy the current immutable object by setting a value for the
destination attribute. |
ImmutableMerge4<A,B,C,D,X> |
ImmutableMerge4.withDestination(Value<X> value)
Copy the current immutable object by setting a value for the
destination attribute. |
ImmutableAggregated<S,X> |
ImmutableAggregated.withDestination(Value<X> value)
Copy the current immutable object by setting a value for the
destination attribute. |
ImmutableMerge5<A,B,C,D,E,X> |
ImmutableMerge5.withDestination(Value<X> value)
Copy the current immutable object by setting a value for the
destination attribute. |
| Modifier and Type | Method and Description |
|---|---|
Value<T> |
ImmutableValueVertex.value() |
abstract Value<T> |
RuleVertex.ValueVertex.value() |
| Modifier and Type | Method and Description |
|---|---|
static <T> ImmutableValueVertex<T> |
ImmutableValueVertex.of(Value<T> value)
Construct a new immutable
ValueVertex instance. |
static <T> RuleVertex |
RuleVertex.value(Value<? extends T> value) |
ImmutableValueVertex.Builder<T> |
ImmutableValueVertex.Builder.value(Value<T> value)
Initializes the value for the
value attribute. |
ImmutableValueVertex<T> |
ImmutableValueVertex.withValue(Value<T> value)
Copy the current immutable object by setting a value for the
value attribute. |
| Modifier and Type | Method and Description |
|---|---|
Set<Value<?>> |
ImmutableCalculationMap.keys()
Returns a lazily initialized value of the
keys attribute. |
Set<Value<?>> |
ImmutableValidationMap.keys()
Returns a lazily initialized value of the
keys attribute. |
Set<Value<?>> |
CalculationMap.keys() |
Set<Value<?>> |
ValidationMap.keys() |
protected Map<Value<?>,Calculation<?>> |
ImmutableCalculationMap.map()
Returns a lazily initialized value of the
map attribute. |
protected Map<Value<?>,Validation<?>> |
ImmutableValidationMap.map()
Returns a lazily initialized value of the
map attribute. |
protected Map<Value<?>,Calculation<?>> |
CalculationMap.map() |
protected Map<Value<?>,Validation<?>> |
ValidationMap.map() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CalculationMap.contains(Value<?> it) |
boolean |
ValidationMap.contains(Value<?> it) |
<T> Calculation<T> |
CalculationMap.get(Value<T> key) |
<T> Validation<T> |
ValidationMap.get(Value<T> key) |
| Modifier and Type | Method and Description |
|---|---|
Value<T> |
ImmutableExplainValue.destination() |
abstract Value<T> |
Explanation.ExplainValue.destination() |
| Modifier and Type | Method and Description |
|---|---|
org.jgrapht.graph.DefaultDirectedGraph<Value<?>,org.jgrapht.graph.DefaultEdge> |
ValueGraph.graph() |
Set<Value<?>> |
Result.validatedValues() |
protected com.google.common.collect.ImmutableMap<Value<?>,ValidationError> |
ImmutableContext.validationErrorMap() |
protected abstract Map<Value<?>,ValidationError> |
Context.validationErrorMap() |
Map<Value<?>,ValidationError> |
Result.validationErrors() |
| Modifier and Type | Method and Description |
|---|---|
<T> Context |
Context.add(Value<T> id,
T value) |
<T> Context |
Context.addInvalid(Value<T> id,
ValidationError validationError) |
<T> Context |
Context.addUnvalidated(Value<T> id,
T value) |
<T> Calculation<T> |
ValueGraph.calculation(Value<T> key) |
<T> Calculation<T> |
ValueGraph.calculationOrNull(Value<T> key) |
ImmutableExplainValue.Builder<T> |
ImmutableExplainValue.Builder.destination(Value<T> destination)
Initializes the value for the
destination attribute. |
Explanation |
ValueGraph.explain(Value<?> destination) |
static <T> Explanation.ExplainValue |
Explanation.explainValue(Value<T> destination,
Validation<T> validation,
Calculation<T> calculation) |
<T> T |
Result.get(Value<T> id) |
<T> T |
Context.getUnvalidated(Value<T> id) |
<T> T |
Context.getValidated(Value<T> id) |
boolean |
Context.isInvalid(Value<?> id) |
boolean |
Context.isValid(Value<?> id) |
ImmutableContext.Builder |
ImmutableContext.Builder.putValidationErrorMap(Value<?> key,
ValidationError value)
Put one entry to the
validationErrorMap map. |
<T> Validation<T> |
ValueGraph.validation(Value<T> key) |
<T> Validation<T> |
ValueGraph.validationOrNull(Value<T> key) |
default <T> Either<T,ValidationError> |
Result.valueOrError(Value<T> id) |
ImmutableExplainValue<T> |
ImmutableExplainValue.withDestination(Value<T> value)
Copy the current immutable object by setting a value for the
destination attribute. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableContext.Builder |
ImmutableContext.Builder.putAllValidationErrorMap(Map<? extends Value<?>,? extends ValidationError> entries)
Put all mappings from the specified map as entries to
validationErrorMap map. |
ImmutableContext.Builder |
ImmutableContext.Builder.putValidationErrorMap(Map.Entry<? extends Value<?>,? extends ValidationError> entry)
Put one entry to the
validationErrorMap map. |
static String |
Explanation.render(Explanation explanation,
Function<Value<?>,String> renderValue) |
static String |
GraphRenderer.renderGraphAsDot(org.jgrapht.graph.DefaultDirectedGraph<Value<?>,org.jgrapht.graph.DefaultEdge> graph) |
static String |
GraphRenderer.renderGraphAsDot(org.jgrapht.graph.DefaultDirectedGraph<Value<?>,org.jgrapht.graph.DefaultEdge> graph,
Function<Value<?>,String> labelOfValue) |
static String |
GraphRenderer.renderGraphAsDot(org.jgrapht.graph.DefaultDirectedGraph<Value<?>,org.jgrapht.graph.DefaultEdge> graph,
Function<Value<?>,String> labelOfValue) |
ImmutableContext.Builder |
ImmutableContext.Builder.validationErrorMap(Map<? extends Value<?>,? extends ValidationError> entries)
Sets or replaces all mappings from the specified map as entries for the
validationErrorMap map. |
ImmutableContext |
ImmutableContext.withValidationErrorMap(Map<? extends Value<?>,? extends ValidationError> entries)
Copy the current immutable object by replacing the
validationErrorMap map with the specified map. |
| Modifier and Type | Method and Description |
|---|---|
Value<D> |
Validation.destination() |
| Constructor and Description |
|---|
WithRelationTo1(Value<X> destination,
ValueSource<A> a) |
WithRelationTo2(Value<X> destination,
ValueSource<A> a,
ValueSource<B> b) |
WithRelationTo3(Value<X> destination,
ValueSource<A> a,
ValueSource<B> b,
ValueSource<C> c) |
WithRelationTo4(Value<X> destination,
ValueSource<A> a,
ValueSource<B> b,
ValueSource<C> c,
ValueSource<D> d) |
| Modifier and Type | Method and Description |
|---|---|
Value<X> |
ImmutableRelatedTo2.destination() |
Value<X> |
ImmutableSelf.destination() |
Value<X> |
ImmutableRelatedTo3.destination() |
Value<X> |
ImmutableRelatedTo1.destination() |
Value<X> |
ImmutableRelatedTo4.destination() |
| Modifier and Type | Method and Description |
|---|---|
static <X> ImmutableSelf<X> |
ImmutableSelf.of(Value<X> destination,
V0<X> validation)
Construct a new immutable
Self instance. |
static <X,A> ImmutableRelatedTo1<X,A> |
ImmutableRelatedTo1.of(Value<X> destination,
ValueSource<A> source,
V1<X,A> validation)
Construct a new immutable
RelatedTo1 instance. |
static <X,A,B> ImmutableRelatedTo2<X,A,B> |
ImmutableRelatedTo2.of(Value<X> destination,
ValueSource<A> a,
ValueSource<B> b,
V2<X,A,B> validation)
Construct a new immutable
RelatedTo2 instance. |
static <X,A,B,C> ImmutableRelatedTo3<X,A,B,C> |
ImmutableRelatedTo3.of(Value<X> destination,
ValueSource<A> a,
ValueSource<B> b,
ValueSource<C> c,
V3<X,A,B,C> validation)
Construct a new immutable
RelatedTo3 instance. |
static <X,A,B,C,D> |
ImmutableRelatedTo4.of(Value<X> destination,
ValueSource<A> a,
ValueSource<B> b,
ValueSource<C> c,
ValueSource<D> d,
V4<X,A,B,C,D> validation)
Construct a new immutable
RelatedTo4 instance. |
static <X> Self<X> |
Self.with(Value<X> destination,
V0<X> validation) |
static <X,A> RelatedTo1<X,A> |
RelatedTo1.with(Value<X> destination,
ValueSource<A> source,
V1<X,A> validation) |
static <X,A,B> RelatedTo2<X,A,B> |
RelatedTo2.with(Value<X> destination,
ValueSource<A> a,
ValueSource<B> b,
V2<X,A,B> validation) |
static <X,A,B,C> RelatedTo3<X,A,B,C> |
RelatedTo3.with(Value<X> destination,
ValueSource<A> a,
ValueSource<B> b,
ValueSource<C> c,
V3<X,A,B,C> validation) |
static <X,A,B,C,D> |
RelatedTo4.with(Value<X> destination,
ValueSource<A> a,
ValueSource<B> b,
ValueSource<C> c,
ValueSource<D> d,
V4<X,A,B,C,D> validation) |
ImmutableRelatedTo2<X,A,B> |
ImmutableRelatedTo2.withDestination(Value<X> value)
Copy the current immutable object by setting a value for the
destination attribute. |
ImmutableSelf<X> |
ImmutableSelf.withDestination(Value<X> value)
Copy the current immutable object by setting a value for the
destination attribute. |
ImmutableRelatedTo3<X,A,B,C> |
ImmutableRelatedTo3.withDestination(Value<X> value)
Copy the current immutable object by setting a value for the
destination attribute. |
ImmutableRelatedTo1<X,A> |
ImmutableRelatedTo1.withDestination(Value<X> value)
Copy the current immutable object by setting a value for the
destination attribute. |
ImmutableRelatedTo4<X,A,B,C,D> |
ImmutableRelatedTo4.withDestination(Value<X> value)
Copy the current immutable object by setting a value for the
destination attribute. |
| Modifier and Type | Class and Description |
|---|---|
class |
Attribute<O,T> |
class |
ImmutableAttribute<O,T>
Immutable implementation of
Attribute. |
class |
ImmutableNamed<T>
Immutable implementation of
Named. |
class |
ImmutableRelated<T,B>
Immutable implementation of
Related. |
class |
Named<T> |
class |
Related<T,B> |
| Modifier and Type | Method and Description |
|---|---|
protected Value<T> |
ImmutableRelated.destination() |
protected abstract Value<T> |
Related.destination() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableRelated.Builder<T,B> |
ImmutableRelated.Builder.destination(Value<T> destination)
Initializes the value for the
destination attribute. |
static <T,B> ImmutableRelated<T,B> |
ImmutableRelated.of(Value<T> destination,
B reference)
Construct a new immutable
Related instance. |
static <T,B> Related<T,B> |
Related.to(Value<T> destination,
B base) |
ImmutableRelated<T,B> |
ImmutableRelated.withDestination(Value<T> value)
Copy the current immutable object by setting a value for the
destination attribute. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ChangeableValue<O,T> |
interface |
ModifiableValue<O,T> |
interface |
ReadableValue<O,T> |
| Modifier and Type | Class and Description |
|---|---|
class |
CopyOnChangeValue<O,T> |
class |
ImmutableCopyOnChangeValue<O,T>
Immutable implementation of
CopyOnChangeValue. |
class |
ImmutableModifyInstanceValue<O,T>
Immutable implementation of
ModifyInstanceValue. |
class |
ImmutableReadOnlyValue<O,T>
Immutable implementation of
ReadOnlyValue. |
class |
ModifyInstanceValue<O,T> |
class |
ReadOnlyValue<O,T> |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ChangeableInstanceValueLookup.get(Value<T> id) |
Copyright © 2023. All rights reserved.