cascading.tuple
Class IndexTuple
java.lang.Object
cascading.tuple.IndexTuple
- All Implemented Interfaces:
- Comparable
public class IndexTuple
- extends Object
- implements Comparable
Class IndexTuple allows for managing an int index value with a Tuple instance. Used internally for co-grouping values.
|
Constructor Summary |
IndexTuple()
Constructor IndexTuple creates a new IndexTuple instance. |
IndexTuple(int index,
Tuple tuple)
Constructor IndexTuple creates a new IndexTuple instance. |
IndexTuple
public IndexTuple()
- Constructor IndexTuple creates a new IndexTuple instance.
IndexTuple
public IndexTuple(int index,
Tuple tuple)
- Constructor IndexTuple creates a new IndexTuple instance.
- Parameters:
index - of type inttuple - of type Tuple
setIndex
public void setIndex(int index)
getIndex
public int getIndex()
setTuple
public void setTuple(Tuple tuple)
getTuple
public Tuple getTuple()
compareTo
public int compareTo(Object object)
- Specified by:
compareTo in interface Comparable
compareTo
public int compareTo(IndexTuple indexTuple)
equals
public boolean equals(Object object)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2007-2008 Concurrent, Inc. All Rights Reserved.