@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableV0Explained<T> extends V0.V0Explained<T>
V0.V0Explained.
Use the builder to create immutable instances:
ImmutableV0Explained.builder().
Use the static factory method to create immutable instances:
ImmutableV0Explained.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableV0Explained.Builder<T>
Builds instances of type
ImmutableV0Explained. |
V0.V0Explained<T>| Modifier and Type | Method and Description |
|---|---|
static <T> ImmutableV0Explained.Builder<T> |
builder()
Creates a builder for
ImmutableV0Explained. |
static <T> ImmutableV0Explained<T> |
copyOf(V0.V0Explained<T> instance)
Creates an immutable copy of a
V0.V0Explained value. |
protected V0<T> |
delegate() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableV0Explained that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
delegate, humanReadable. |
protected String |
humanReadable() |
static <T> ImmutableV0Explained<T> |
of(V0<T> delegate,
String humanReadable)
Construct a new immutable
V0Explained instance. |
String |
toString()
Prints the immutable value
V0Explained with attribute values. |
ImmutableV0Explained<T> |
withDelegate(V0<T> value)
Copy the current immutable object by setting a value for the
delegate attribute. |
ImmutableV0Explained<T> |
withHumanReadable(String value)
Copy the current immutable object by setting a value for the
humanReadable attribute. |
asHumanReadable, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitasHumanReadableprotected V0<T> delegate()
delegate in class V0.V0Explained<T>delegate attributeprotected String humanReadable()
humanReadable in class V0.V0Explained<T>humanReadable attributepublic final ImmutableV0Explained<T> withDelegate(V0<T> value)
delegate attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for delegatethis objectpublic final ImmutableV0Explained<T> withHumanReadable(String value)
humanReadable attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for humanReadablethis objectpublic boolean equals(@Nullable Object another)
ImmutableV0Explained that have equal attribute values.public int hashCode()
delegate, humanReadable.public String toString()
V0Explained with attribute values.public static <T> ImmutableV0Explained<T> of(V0<T> delegate, String humanReadable)
V0Explained instance.T - generic parameter Tdelegate - The value for the delegate attributehumanReadable - The value for the humanReadable attributepublic static <T> ImmutableV0Explained<T> copyOf(V0.V0Explained<T> instance)
V0.V0Explained value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.T - generic parameter Tinstance - The instance to copypublic static <T> ImmutableV0Explained.Builder<T> builder()
ImmutableV0Explained.
ImmutableV0Explained.<T>builder()
.delegate(de.flapdoodle.formula.validation.validations.V0<T>) // required delegate
.humanReadable(String) // required humanReadable
.build();
T - generic parameter TCopyright © 2023. All rights reserved.