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