L - the type of the left-hand side of this tuple.R - the type of the right-hand side of this tuple.public class StreamableTuple<L,R> extends Tuple<L,R> implements Streamable
Tuple extension that can be streamed. The contents of the tuple
must also be of streamable types.Streamable,
Serialized FormStreamable.Closure| Constructor and Description |
|---|
StreamableTuple(L left,
R right)
Constructs a tuple with the two specified objects.
|
| Modifier and Type | Method and Description |
|---|---|
static <L,R> StreamableTuple<L,R> |
newTuple(L left,
R right)
Creates a tuple with the specified two objects.
|
public static <L,R> StreamableTuple<L,R> newTuple(L left, R right)
Copyright © 2015. All rights reserved.