Class TupleOps<T>
java.lang.Object
scala.AnyVal
org.apache.pekko.http.scaladsl.server.util.TupleOps<T>
public class TupleOps<T>
extends scala.AnyVal
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfacestatic classstatic interfacestatic classstatic interfacestatic classstatic class
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription<S> Objectappend(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> ObjectfoldLeft(In zero, BinaryPolyFunc op, TupleOps.FoldLeft<In, T, ? extends BinaryPolyFunc> fold) Left-Folds over the tuple using the given binary poly-function.<S> Objectjoin(S suffixTuple, TupleOps.Join<T, S> join) Appends the given tuple to the underlying tuple producing a tuple of arity n + m.tuple()
- 
Constructor Details- 
TupleOps
 
- 
- 
Method Details- 
enhanceTuple
- 
tuple
- 
appendAppends the given value to the tuple producing a tuple of arity n + 1.- Parameters:
- value- (undocumented)
- ao- (undocumented)
- Returns:
- (undocumented)
 
- 
foldLeftpublic <In> Object foldLeft(In zero, BinaryPolyFunc op, TupleOps.FoldLeft<In, T, ? extends BinaryPolyFunc> fold) Left-Folds over the tuple using the given binary poly-function.- Parameters:
- zero- (undocumented)
- op- (undocumented)
- fold- (undocumented)
- Returns:
- (undocumented)
 
- 
joinAppends the given tuple to the underlying tuple producing a tuple of arity n + m.- Parameters:
- suffixTuple- (undocumented)
- join- (undocumented)
- Returns:
- (undocumented)
 
 
-