@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableStrictValueLookup extends StrictValueLookup
StrictValueLookup.
Use the builder to create immutable instances:
ImmutableStrictValueLookup.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableStrictValueLookup.Builder
Builds instances of type
ImmutableStrictValueLookup. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableStrictValueLookup.Builder |
builder()
Creates a builder for
ImmutableStrictValueLookup. |
static ImmutableStrictValueLookup |
copyOf(StrictValueLookup instance)
Creates an immutable copy of a
StrictValueLookup value. |
protected com.google.common.collect.ImmutableList<MappedValue<?>> |
entries() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableStrictValueLookup that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
entries. |
Set<Value<?>> |
keySet()
Returns a lazily initialized value of the
keySet attribute. |
protected Set<Value<?>> |
nullValues()
Returns a lazily initialized value of the
nullValues attribute. |
String |
toString()
Prints the immutable value
StrictValueLookup with attribute values. |
protected Map<Value<?>,Object> |
values()
Returns a lazily initialized value of the
values attribute. |
ImmutableStrictValueLookup |
withEntries(Iterable<? extends MappedValue<?>> elements)
Copy the current immutable object with elements that replace the content of
entries. |
ImmutableStrictValueLookup |
withEntries(MappedValue<?>... elements)
Copy the current immutable object with elements that replace the content of
entries. |
check, get, of, ofclone, finalize, getClass, notify, notifyAll, wait, wait, waitfailOnEachValueprotected com.google.common.collect.ImmutableList<MappedValue<?>> entries()
entries in class StrictValueLookupentries attribute@SafeVarargs public final ImmutableStrictValueLookup withEntries(MappedValue<?>... elements)
entries.elements - The elements to setthis objectpublic final ImmutableStrictValueLookup withEntries(Iterable<? extends MappedValue<?>> elements)
entries.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of entries elements to setthis objectpublic boolean equals(@Nullable Object another)
ImmutableStrictValueLookup that have equal attribute values.public int hashCode()
entries.public String toString()
StrictValueLookup with attribute values.protected Map<Value<?>,Object> values()
Returns a lazily initialized value of the values 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.
values in class StrictValueLookupvalues attributeprotected Set<Value<?>> nullValues()
Returns a lazily initialized value of the nullValues 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.
nullValues in class StrictValueLookupnullValues attributepublic Set<Value<?>> keySet()
Returns a lazily initialized value of the keySet 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.
keySet in interface HasSetOfKnownValueskeySet in class StrictValueLookupkeySet attributepublic static ImmutableStrictValueLookup copyOf(StrictValueLookup instance)
StrictValueLookup 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 ImmutableStrictValueLookup.Builder builder()
ImmutableStrictValueLookup.
ImmutableStrictValueLookup.builder()
.addEntries|addAllEntries(de.flapdoodle.formula.calculate.MappedValue<?>) // entries elements
.build();
Copyright © 2023. All rights reserved.