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