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