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