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