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