public class TupleOps<T>
extends scala.AnyVal
Modifier and Type | Class and Description |
---|---|
static interface |
TupleOps.AppendOne<P,S> |
static class |
TupleOps.AppendOne$ |
static interface |
TupleOps.FoldLeft<In,T,Op> |
static class |
TupleOps.FoldLeft$ |
static interface |
TupleOps.Join<P,S> |
static class |
TupleOps.Join$ |
static class |
TupleOps.LowLevelJoinImplicits |
Modifier and Type | Method and Description |
---|---|
<S> java.lang.Object |
append(S value,
TupleOps.AppendOne<T,S> ao)
Appends the given value to the tuple producing a tuple of arity n + 1.
|
static <T> TupleOps<T> |
enhanceTuple(T tuple,
Tuple<T> evidence$1) |
<In> java.lang.Object |
foldLeft(In zero,
BinaryPolyFunc op,
TupleOps.FoldLeft<In,T,? extends BinaryPolyFunc> fold)
Left-Folds over the tuple using the given binary poly-function.
|
<S> java.lang.Object |
join(S suffixTuple,
TupleOps.Join<T,S> join)
Appends the given tuple to the underlying tuple producing a tuple of arity n + m.
|
T |
tuple() |
public TupleOps(T tuple)
public T tuple()
public <S> java.lang.Object append(S value, TupleOps.AppendOne<T,S> ao)
value
- (undocumented)ao
- (undocumented)public <In> java.lang.Object foldLeft(In zero, BinaryPolyFunc op, TupleOps.FoldLeft<In,T,? extends BinaryPolyFunc> fold)
zero
- (undocumented)op
- (undocumented)fold
- (undocumented)public <S> java.lang.Object join(S suffixTuple, TupleOps.Join<T,S> join)
suffixTuple
- (undocumented)join
- (undocumented)