public class Tuple4<V1,V2,V3,V4> extends Object implements Tuple
Tuples.| Modifier and Type | Class and Description | 
|---|---|
| static class  | Tuple4.Collect<V1,V2,V3,V4> | 
| Constructor and Description | 
|---|
| Tuple4(V1 first,
      V2 second,
      V3 third,
      V4 fourth) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| V1 | first() | 
| V4 | fourth() | 
| Object | get(int index)Returns the Object at the given index. | 
| int | hashCode() | 
| static <A,B,C,D> Tuple4<A,B,C,D> | of(A a,
  B b,
  C c,
  D d) | 
| V2 | second() | 
| int | size()Returns the number of elements in this Tuple. | 
| V3 | third() | 
| String | toString() | 
public static <A,B,C,D> Tuple4<A,B,C,D> of(A a, B b, C c, D d)
public V1 first()
public V2 second()
public V3 third()
public V4 fourth()
public Object get(int index)
Tuplepublic int size()
TupleCopyright © 2017 The Apache Software Foundation. All rights reserved.