@Generated(value={"Immutables.generator","ThreeWayMergingJunction<L, M, R, D>"}) public final class ImmutableThreeWayMergingJunction<L,M,R,D> extends Object implements ThreeWayMergingJunction<L,M,R,D>
ThreeWayMergingJunction.
Use the builder to create immutable instances:
ImmutableThreeWayMergingJunction.<L, M, R, D>builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableThreeWayMergingJunction.Builder<L,M,R,D>
Builds instances of type
ImmutableThreeWayMergingJunction. |
Route.Transition<D>| Modifier and Type | Method and Description |
|---|---|
static <L,M,R,D> ImmutableThreeWayMergingJunction.Builder<L,M,R,D> |
builder(NamedType<D> destination)
Creates a builder for
ImmutableThreeWayMergingJunction. |
static <L,M,R,D> ImmutableThreeWayMergingJunction<L,M,R,D> |
copyOf(ThreeWayMergingJunction<L,M,R,D> instance)
Creates an immutable copy of a
ThreeWayMergingJunction value. |
NamedType<D> |
destination() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableThreeWayMergingJunction that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
left, middle, right, destination. |
NamedType<L> |
left() |
NamedType<M> |
middle() |
NamedType<R> |
right() |
String |
toString()
Prints the immutable value
ThreeWayMergingJunction with attribute values. |
ImmutableThreeWayMergingJunction<L,M,R,D> |
withDestination(NamedType<D> value)
Copy the current immutable object by setting a value for the
destination attribute. |
ImmutableThreeWayMergingJunction<L,M,R,D> |
withLeft(NamedType<L> value)
Copy the current immutable object by setting a value for the
left attribute. |
ImmutableThreeWayMergingJunction<L,M,R,D> |
withMiddle(NamedType<M> value)
Copy the current immutable object by setting a value for the
middle attribute. |
ImmutableThreeWayMergingJunction<L,M,R,D> |
withRight(NamedType<R> value)
Copy the current immutable object by setting a value for the
right attribute. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitof, sourcespublic NamedType<D> destination()
destination in interface SingleDestination<D>destination attributepublic final ImmutableThreeWayMergingJunction<L,M,R,D> withLeft(NamedType<L> value)
left attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for leftthis objectpublic final ImmutableThreeWayMergingJunction<L,M,R,D> withMiddle(NamedType<M> value)
middle attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for middlethis objectpublic final ImmutableThreeWayMergingJunction<L,M,R,D> withRight(NamedType<R> value)
right attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for rightthis objectpublic final ImmutableThreeWayMergingJunction<L,M,R,D> withDestination(NamedType<D> 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 boolean equals(Object another)
ImmutableThreeWayMergingJunction that have equal attribute values.public int hashCode()
left, middle, right, destination.public String toString()
ThreeWayMergingJunction with attribute values.public static <L,M,R,D> ImmutableThreeWayMergingJunction<L,M,R,D> copyOf(ThreeWayMergingJunction<L,M,R,D> instance)
ThreeWayMergingJunction value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.L - generic parameter LM - generic parameter MR - generic parameter RD - generic parameter Dinstance - The instance to copypublic static <L,M,R,D> ImmutableThreeWayMergingJunction.Builder<L,M,R,D> builder(NamedType<D> destination)
ImmutableThreeWayMergingJunction.L - generic parameter LM - generic parameter MR - generic parameter RD - generic parameter Ddestination - destination parameterCopyright © 2017. All rights reserved.