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