org.omnaest.utils.tuple
Interface Tuple

All Superinterfaces:
Serializable
All Known Implementing Classes:
KeyValue, MapDelta.Values, MapJoiner.JoinedValue, Tuple2, Tuple3, TupleThree, TupleTwo

public interface Tuple
extends Serializable

A Tuple is the marker interface for generic wrapper classes holding arbitrary elements of different numbers.

A Tuple derived type should support #hashCode() and #equals(Object) as well as #toString(). Two Tuple are taken as equal, if their elements are equal and in the same number and order.

Author:
Omnaest
See Also:
Tuple2, Tuple3



Copyright © 2013. All Rights Reserved.