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