com.threerings.util
Class StreamableTuple<L,R>
java.lang.Object
com.samskivert.util.Tuple<L,R>
com.threerings.util.StreamableTuple<L,R>
- Type Parameters:
L - the type of the left-hand side of this tuple.R - the type of the right-hand side of this tuple.
- All Implemented Interfaces:
- Streamable, Serializable
public class StreamableTuple<L,R>
- extends Tuple<L,R>
- implements Streamable
A Tuple extension that can be streamed. The contents of the tuple
must also be of streamable types.
- See Also:
Streamable,
Serialized Form
|
Constructor Summary |
StreamableTuple(L left,
R right)
Constructs a tuple with the two specified objects. |
|
Method Summary |
static
|
newTuple(L left,
R right)
Creates a tuple with the specified two objects. |
StreamableTuple
public StreamableTuple(L left,
R right)
- Constructs a tuple with the two specified objects.
newTuple
public static <L,R> StreamableTuple<L,R> newTuple(L left,
R right)
- Creates a tuple with the specified two objects.