@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableF0WithLabel<R> extends F0.F0WithLabel<R>
F0.F0WithLabel.
Use the builder to create immutable instances:
ImmutableF0WithLabel.builder().
Use the static factory method to create immutable instances:
ImmutableF0WithLabel.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableF0WithLabel.Builder<R>
Builds instances of type
ImmutableF0WithLabel. |
F0.F0WithLabel<R>| Modifier and Type | Method and Description |
|---|---|
static <R> ImmutableF0WithLabel.Builder<R> |
builder()
Creates a builder for
ImmutableF0WithLabel. |
static <R> ImmutableF0WithLabel<R> |
copyOf(F0.F0WithLabel<R> instance)
Creates an immutable copy of a
F0.F0WithLabel value. |
protected F0<R> |
delegate() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableF0WithLabel that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
delegate, label. |
protected String |
label() |
static <R> ImmutableF0WithLabel<R> |
of(F0<R> delegate,
String label)
Construct a new immutable
F0WithLabel instance. |
String |
toString()
Prints the immutable value
F0WithLabel with attribute values. |
ImmutableF0WithLabel<R> |
withDelegate(F0<R> value)
Copy the current immutable object by setting a value for the
delegate attribute. |
ImmutableF0WithLabel<R> |
withLabel(String value)
Copy the current immutable object by setting a value for the
label attribute. |
asHumanReadable, getclone, finalize, getClass, notify, notifyAll, wait, wait, waitasHumanReadableprotected F0<R> delegate()
delegate in class F0.F0WithLabel<R>delegate attributeprotected String label()
label in class F0.F0WithLabel<R>label attributepublic final ImmutableF0WithLabel<R> withDelegate(F0<R> 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 ImmutableF0WithLabel<R> withLabel(String value)
label attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for labelthis objectpublic boolean equals(@Nullable Object another)
ImmutableF0WithLabel that have equal attribute values.public int hashCode()
delegate, label.public String toString()
F0WithLabel with attribute values.public static <R> ImmutableF0WithLabel<R> of(F0<R> delegate, String label)
F0WithLabel instance.R - generic parameter Rdelegate - The value for the delegate attributelabel - The value for the label attributepublic static <R> ImmutableF0WithLabel<R> copyOf(F0.F0WithLabel<R> instance)
F0.F0WithLabel value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.R - generic parameter Rinstance - The instance to copypublic static <R> ImmutableF0WithLabel.Builder<R> builder()
ImmutableF0WithLabel.
ImmutableF0WithLabel.<R>builder()
.delegate(de.flapdoodle.formula.calculate.functions.F0<R>) // required delegate
.label(String) // required label
.build();
R - generic parameter RCopyright © 2023. All rights reserved.