@NotThreadSafe public static final class ImmutableFN1wrapF1.Builder<A,R> extends Object
ImmutableFN1wrapF1.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
ImmutableFN1wrapF1<A,R> |
build()
Builds a new
ImmutableFN1wrapF1. |
ImmutableFN1wrapF1.Builder<A,R> |
delegate(F1<A,R> delegate)
Initializes the value for the
delegate attribute. |
ImmutableFN1wrapF1.Builder<A,R> |
from(FN1.FN1wrapF1<A,R> instance)
Fill a builder with attribute values from the provided
FN1wrapF1 instance. |
@CanIgnoreReturnValue public final ImmutableFN1wrapF1.Builder<A,R> from(FN1.FN1wrapF1<A,R> instance)
FN1wrapF1 instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFN1wrapF1.Builder<A,R> delegate(F1<A,R> delegate)
delegate attribute.delegate - The value for delegatethis builder for use in a chained invocationpublic ImmutableFN1wrapF1<A,R> build()
ImmutableFN1wrapF1.IllegalStateException - if any required attributes are missingCopyright © 2023. All rights reserved.