A tuple with 5 fields. Tuples are strongly typed; each field may be of a separate type. The
fields of the tuple can be accessed directly as public fields (f0, f1, ...) or via their position
through the getField(int) method. The tuple field positions start at zero.
Tuples are mutable types, meaning that their fields can be re-assigned. This allows functions
that work with Tuples to reuse objects in order to reduce pressure on the garbage collector.
Warning: If you subclass Tuple5, then be sure to either
not add any new fields, or
make it a POJO, and always declare the element type of your DataStreams/DataSets to your
descendant type. (That is, if you have a "class Foo extends Tuple5", then don't use
instances of Foo in a DataStream<Tuple5> / DataSet<Tuple5>, but declare it as
DataStream<Foo> / DataSet<Foo>.)
public static <T0,T1,T2,T3,T4> Tuple5<T0,T1,T2,T3,T4> of(T0 f0,
Creates a new tuple and assigns the given values to the tuple's fields. This is more
convenient than using the constructor, because the compiler can infer the generic type
arguments implicitly. For example: Tuple3.of(n, x, s) instead of new
Tuple3<Integer, Double, String>(n, x, s)