@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableStrictValidatedValueLookup extends StrictValidatedValueLookup
StrictValidatedValueLookup.
Use the builder to create immutable instances:
ImmutableStrictValidatedValueLookup.builder().
Use the static factory method to create immutable instances:
ImmutableStrictValidatedValueLookup.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableStrictValidatedValueLookup.Builder
Builds instances of type
ImmutableStrictValidatedValueLookup. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableStrictValidatedValueLookup.Builder |
builder()
Creates a builder for
ImmutableStrictValidatedValueLookup. |
static ImmutableStrictValidatedValueLookup |
copyOf(StrictValidatedValueLookup instance)
Creates an immutable copy of a
StrictValidatedValueLookup value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableStrictValidatedValueLookup that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
validatedValues. |
static ImmutableStrictValidatedValueLookup |
of(Iterable<? extends ValidatedValue<?>> validatedValues)
Construct a new immutable
StrictValidatedValueLookup instance. |
static ImmutableStrictValidatedValueLookup |
of(List<ValidatedValue<?>> validatedValues)
Construct a new immutable
StrictValidatedValueLookup instance. |
String |
toString()
Prints the immutable value
StrictValidatedValueLookup with attribute values. |
protected Map<ValueSource<?>,ValidatedValue<?>> |
validatedValueMap()
Returns a lazily initialized value of the
validatedValueMap attribute. |
protected com.google.common.collect.ImmutableList<ValidatedValue<?>> |
validatedValues() |
ImmutableStrictValidatedValueLookup |
withValidatedValues(Iterable<? extends ValidatedValue<?>> elements)
Copy the current immutable object with elements that replace the content of
validatedValues. |
ImmutableStrictValidatedValueLookup |
withValidatedValues(ValidatedValue<?>... elements)
Copy the current immutable object with elements that replace the content of
validatedValues. |
check, get, withprotected com.google.common.collect.ImmutableList<ValidatedValue<?>> validatedValues()
validatedValues in class StrictValidatedValueLookupvalidatedValues attribute@SafeVarargs public final ImmutableStrictValidatedValueLookup withValidatedValues(ValidatedValue<?>... elements)
validatedValues.elements - The elements to setthis objectpublic final ImmutableStrictValidatedValueLookup withValidatedValues(Iterable<? extends ValidatedValue<?>> elements)
validatedValues.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of validatedValues elements to setthis objectpublic boolean equals(@Nullable Object another)
ImmutableStrictValidatedValueLookup that have equal attribute values.public int hashCode()
validatedValues.public String toString()
StrictValidatedValueLookup with attribute values.protected Map<ValueSource<?>,ValidatedValue<?>> validatedValueMap()
Returns a lazily initialized value of the validatedValueMap attribute.
Initialized once and only once and stored for subsequent access with proper synchronization.
In case of any exception or error thrown by the lazy value initializer,
the result will not be memoised (i.e. remembered) and on next call computation
will be attempted again.
validatedValueMap in class StrictValidatedValueLookupvalidatedValueMap attributepublic static ImmutableStrictValidatedValueLookup of(List<ValidatedValue<?>> validatedValues)
StrictValidatedValueLookup instance.validatedValues - The value for the validatedValues attributepublic static ImmutableStrictValidatedValueLookup of(Iterable<? extends ValidatedValue<?>> validatedValues)
StrictValidatedValueLookup instance.validatedValues - The value for the validatedValues attributepublic static ImmutableStrictValidatedValueLookup copyOf(StrictValidatedValueLookup instance)
StrictValidatedValueLookup value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableStrictValidatedValueLookup.Builder builder()
ImmutableStrictValidatedValueLookup.
ImmutableStrictValidatedValueLookup.builder()
.addValidatedValues|addAllValidatedValues(de.flapdoodle.formula.validation.ValidatedValue<?>) // validatedValues elements
.build();
Copyright © 2023. All rights reserved.