@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableMerge5<A,B,C,D,E,X> extends Merge5<A,B,C,D,E,X>
Merge5.
Use the static factory method to create immutable instances:
ImmutableMerge5.of().
| Modifier and Type | Method and Description |
|---|---|
protected ValueSource<A> |
a() |
protected ValueSource<B> |
b() |
protected ValueSource<C> |
c() |
static <A,B,C,D,E,X> |
copyOf(Merge5<A,B,C,D,E,X> instance)
Creates an immutable copy of a
Merge5 value. |
protected ValueSource<D> |
d() |
Value<X> |
destination() |
protected ValueSource<E> |
e() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableMerge5 that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
destination, a, b, c, d, e, transformation. |
static <A,B,C,D,E,X> |
of(Value<X> destination,
ValueSource<A> a,
ValueSource<B> b,
ValueSource<C> c,
ValueSource<D> d,
ValueSource<E> e,
FN5<A,B,C,D,E,X> transformation)
Construct a new immutable
Merge5 instance. |
String |
toString()
Prints the immutable value
Merge5 with attribute values. |
protected FN5<A,B,C,D,E,X> |
transformation() |
ImmutableMerge5<A,B,C,D,E,X> |
withA(ValueSource<A> value)
Copy the current immutable object by setting a value for the
a attribute. |
ImmutableMerge5<A,B,C,D,E,X> |
withB(ValueSource<B> value)
Copy the current immutable object by setting a value for the
b attribute. |
ImmutableMerge5<A,B,C,D,E,X> |
withC(ValueSource<C> value)
Copy the current immutable object by setting a value for the
c attribute. |
ImmutableMerge5<A,B,C,D,E,X> |
withD(ValueSource<D> value)
Copy the current immutable object by setting a value for the
d attribute. |
ImmutableMerge5<A,B,C,D,E,X> |
withDestination(Value<X> value)
Copy the current immutable object by setting a value for the
destination attribute. |
ImmutableMerge5<A,B,C,D,E,X> |
withE(ValueSource<E> value)
Copy the current immutable object by setting a value for the
e attribute. |
ImmutableMerge5<A,B,C,D,E,X> |
withTransformation(FN5<A,B,C,D,E,X> value)
Copy the current immutable object by setting a value for the
transformation attribute. |
asHumanReadable, calculate, sources, withclone, finalize, getClass, notify, notifyAll, wait, wait, waitasHumanReadableprotected ValueSource<A> a()
protected ValueSource<B> b()
protected ValueSource<C> c()
protected ValueSource<D> d()
protected ValueSource<E> e()
public final ImmutableMerge5<A,B,C,D,E,X> withDestination(Value<X> value)
destination attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for destinationthis objectpublic final ImmutableMerge5<A,B,C,D,E,X> withA(ValueSource<A> value)
a attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for athis objectpublic final ImmutableMerge5<A,B,C,D,E,X> withB(ValueSource<B> value)
b attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for bthis objectpublic final ImmutableMerge5<A,B,C,D,E,X> withC(ValueSource<C> value)
c attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for cthis objectpublic final ImmutableMerge5<A,B,C,D,E,X> withD(ValueSource<D> value)
d attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for dthis objectpublic final ImmutableMerge5<A,B,C,D,E,X> withE(ValueSource<E> value)
e attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for ethis objectpublic final ImmutableMerge5<A,B,C,D,E,X> withTransformation(FN5<A,B,C,D,E,X> value)
transformation attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for transformationthis objectpublic boolean equals(@Nullable Object another)
ImmutableMerge5 that have equal attribute values.public int hashCode()
destination, a, b, c, d, e, transformation.public String toString()
Merge5 with attribute values.public static <A,B,C,D,E,X> ImmutableMerge5<A,B,C,D,E,X> of(Value<X> destination, ValueSource<A> a, ValueSource<B> b, ValueSource<C> c, ValueSource<D> d, ValueSource<E> e, FN5<A,B,C,D,E,X> transformation)
Merge5 instance.A - generic parameter AB - generic parameter BC - generic parameter CD - generic parameter DE - generic parameter EX - generic parameter Xdestination - The value for the destination attributea - The value for the a attributeb - The value for the b attributec - The value for the c attributed - The value for the d attributee - The value for the e attributetransformation - The value for the transformation attributepublic static <A,B,C,D,E,X> ImmutableMerge5<A,B,C,D,E,X> copyOf(Merge5<A,B,C,D,E,X> instance)
Merge5 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 DE - generic parameter EX - generic parameter Xinstance - The instance to copyCopyright © 2023. All rights reserved.