This project has retired. For details please refer to its
Attic page.
TupleN (Apache Crunch 0.7.0 API)
org.apache.crunch
Class TupleN
java.lang.Object
org.apache.crunch.TupleN
- All Implemented Interfaces:
- Tuple
public class TupleN
- extends Object
- implements Tuple
A Tuple
instance for an arbitrary number of values.
TupleN
public TupleN(Object... values)
of
public static TupleN of(Object... values)
get
public Object get(int index)
- Description copied from interface:
Tuple
- Returns the Object at the given index.
- Specified by:
get
in interface Tuple
size
public int size()
- Description copied from interface:
Tuple
- Returns the number of elements in this Tuple.
- Specified by:
size
in interface Tuple
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.