@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableV1Explained<T,A> extends V1.V1Explained<T,A>
V1.V1Explained.
Use the builder to create immutable instances:
ImmutableV1Explained.builder().
Use the static factory method to create immutable instances:
ImmutableV1Explained.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableV1Explained.Builder<T,A>
Builds instances of type
ImmutableV1Explained. |
V1.V1Explained<T,A>| Modifier and Type | Method and Description |
|---|---|
static <T,A> ImmutableV1Explained.Builder<T,A> |
builder()
Creates a builder for
ImmutableV1Explained. |
static <T,A> ImmutableV1Explained<T,A> |
copyOf(V1.V1Explained<T,A> instance)
Creates an immutable copy of a
V1.V1Explained value. |
protected V1<T,A> |
delegate() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableV1Explained that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
delegate, humanReadable. |
protected String |
humanReadable() |
static <T,A> ImmutableV1Explained<T,A> |
of(V1<T,A> delegate,
String humanReadable)
Construct a new immutable
V1Explained instance. |
String |
toString()
Prints the immutable value
V1Explained with attribute values. |
ImmutableV1Explained<T,A> |
withDelegate(V1<T,A> value)
Copy the current immutable object by setting a value for the
delegate attribute. |
ImmutableV1Explained<T,A> |
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 V1<T,A> delegate()
delegate in class V1.V1Explained<T,A>delegate attributeprotected String humanReadable()
humanReadable in class V1.V1Explained<T,A>humanReadable attributepublic final ImmutableV1Explained<T,A> withDelegate(V1<T,A> 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 ImmutableV1Explained<T,A> 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)
ImmutableV1Explained that have equal attribute values.public int hashCode()
delegate, humanReadable.public String toString()
V1Explained with attribute values.public static <T,A> ImmutableV1Explained<T,A> of(V1<T,A> delegate, String humanReadable)
V1Explained instance.T - generic parameter TA - generic parameter Adelegate - The value for the delegate attributehumanReadable - The value for the humanReadable attributepublic static <T,A> ImmutableV1Explained<T,A> copyOf(V1.V1Explained<T,A> instance)
V1.V1Explained 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 TA - generic parameter Ainstance - The instance to copypublic static <T,A> ImmutableV1Explained.Builder<T,A> builder()
ImmutableV1Explained.
ImmutableV1Explained.<T, A>builder()
.delegate(de.flapdoodle.formula.validation.validations.V1<T, A>) // required delegate
.humanReadable(String) // required humanReadable
.build();
T - generic parameter TA - generic parameter ACopyright © 2023. All rights reserved.