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