Class Tuple<L,R>
- java.lang.Object
-
- io.streamthoughts.azkarra.api.monad.Tuple<L,R>
-
public class Tuple<L,R> extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
<LL,RR>
Tuple<LL,RR>flatMap(Function<Tuple<L,R>,Tuple<LL,RR>> mapper)
<LL,RR>
Tuple<LL,RR>fold(Function<L,LL> fl, Function<R,RR> fr)
int
hashCode()
L
left()
<LL> Tuple<LL,R>
mapKey(Function<L,LL> fn)
<RR> Tuple<L,RR>
mapValue(Function<R,RR> fn)
static <L,R>
Tuple<L,R>of(Map.Entry<L,R> entry)
static <L,R>
Tuple<L,R>of(L l, R r)
R
right()
String
toString()
-