@Value.Immutable public interface PartingWay<S,A,B> extends SingleSource<S,Either<A,B>>
Route.Transition<D>| Modifier and Type | Method and Description |
|---|---|
static <S,A,B> PartingWay<S,A,B> |
of(NamedType<S> start,
NamedType<A> oneDestination,
NamedType<B> otherDestination) |
NamedType<A> |
oneDestination() |
NamedType<B> |
otherDestination() |
default Set<NamedType<?>> |
sources() |
NamedType<S> |
start() |
static <S,A,B> PartingWay<S,A,B> of(NamedType<S> start, NamedType<A> oneDestination, NamedType<B> otherDestination)
Copyright © 2017. All rights reserved.