Package com.suse.salt.netapi.utils
Class Xor.Left<L,R>
- java.lang.Object
-
- com.suse.salt.netapi.utils.Xor<L,R>
-
- com.suse.salt.netapi.utils.Xor.Left<L,R>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consume(Consumer<? super L> consumerLeft, Consumer<? super R> consumerRight)
boolean
equals(Object obj)
boolean
exists(Predicate<R> p)
<T> Xor<? super L,T>
flatMap(Function<? super R,Xor<? super L,T>> mapper)
<T> T
fold(Function<? super L,? extends T> mapLeft, Function<? super R,? extends T> mapRight)
R
getOrElse(Supplier<? extends R> supplier)
int
hashCode()
boolean
isLeft()
boolean
isRight()
Optional<L>
left()
<T> Xor<T,R>
leftMap(Function<? super L,Xor<T,R>> mapper)
<T> Xor<L,T>
map(Function<? super R,? extends T> mapper)
R
orElse(R value)
Optional<R>
right()
String
toString()
-
-
-
Method Detail
-
fold
public <T> T fold(Function<? super L,? extends T> mapLeft, Function<? super R,? extends T> mapRight)
-
-