@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableFN2checkNull<A,B,R> extends FN2.FN2checkNull<A,B,R>
FN2.FN2checkNull.
Use the builder to create immutable instances:
ImmutableFN2checkNull.builder().
Use the static factory method to create immutable instances:
ImmutableFN2checkNull.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableFN2checkNull.Builder<A,B,R>
Builds instances of type
ImmutableFN2checkNull. |
FN2.FN2checkNull<A,B,R>, FN2.FN2WithLabel<A,B,R>, FN2.FN2wrapF2<A,B,R>| Modifier and Type | Method and Description |
|---|---|
protected String |
a() |
protected String |
b() |
static <A,B,R> ImmutableFN2checkNull.Builder<A,B,R> |
builder()
Creates a builder for
ImmutableFN2checkNull. |
static <A,B,R> ImmutableFN2checkNull<A,B,R> |
copyOf(FN2.FN2checkNull<A,B,R> instance)
Creates an immutable copy of a
FN2.FN2checkNull value. |
protected F2<A,B,R> |
delegate() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableFN2checkNull that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
delegate, a, b. |
static <A,B,R> ImmutableFN2checkNull<A,B,R> |
of(F2<A,B,R> delegate,
String a,
String b)
Construct a new immutable
FN2checkNull instance. |
String |
toString()
Prints the immutable value
FN2checkNull with attribute values. |
ImmutableFN2checkNull<A,B,R> |
withA(String value)
Copy the current immutable object by setting a value for the
a attribute. |
ImmutableFN2checkNull<A,B,R> |
withB(String value)
Copy the current immutable object by setting a value for the
b attribute. |
ImmutableFN2checkNull<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.FN2checkNull<A,B,R>delegate attributeprotected String a()
a in class FN2.FN2checkNull<A,B,R>a attributeprotected String b()
b in class FN2.FN2checkNull<A,B,R>b attributepublic final ImmutableFN2checkNull<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 final ImmutableFN2checkNull<A,B,R> withA(String value)
a attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for athis objectpublic final ImmutableFN2checkNull<A,B,R> withB(String value)
b attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for bthis objectpublic boolean equals(@Nullable Object another)
ImmutableFN2checkNull that have equal attribute values.public int hashCode()
delegate, a, b.public String toString()
FN2checkNull with attribute values.public static <A,B,R> ImmutableFN2checkNull<A,B,R> of(F2<A,B,R> delegate, String a, String b)
FN2checkNull instance.A - generic parameter AB - generic parameter BR - generic parameter Rdelegate - The value for the delegate attributea - The value for the a attributeb - The value for the b attributepublic static <A,B,R> ImmutableFN2checkNull<A,B,R> copyOf(FN2.FN2checkNull<A,B,R> instance)
FN2.FN2checkNull 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> ImmutableFN2checkNull.Builder<A,B,R> builder()
ImmutableFN2checkNull.
ImmutableFN2checkNull.<A, B, R>builder()
.delegate(de.flapdoodle.formula.calculate.functions.F2<A, B, R>) // required delegate
.a(String) // required a
.b(String) // required b
.build();
A - generic parameter AB - generic parameter BR - generic parameter RCopyright © 2023. All rights reserved.