de.hpi.fgis.voidgen.hadoop.closure
Class Step1Pair
java.lang.Object
de.hpi.fgis.voidgen.hadoop.datatypes.Pair<CloneableText,ClusterId>
de.hpi.fgis.voidgen.hadoop.closure.Step1Pair
- All Implemented Interfaces:
- java.lang.Comparable<Step1Pair>, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable<Step1Pair>
public class Step1Pair
- extends Pair<CloneableText,ClusterId>
- implements org.apache.hadoop.io.WritableComparable<Step1Pair>
A pair of text and cluster identifier.
- Author:
- Johannes Gosda, Hasso Plattner Institute at University of Potsdam, Germany
Fields inherited from class de.hpi.fgis.voidgen.hadoop.datatypes.Pair |
left, right |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Step1Pair
public Step1Pair()
- Default Constructor.
Step1Pair
public Step1Pair(CloneableText left,
ClusterId right)
- Constructor with given left and right part of the pair.
- Parameters:
left
- left partright
- right part
compareTo
public int compareTo(Step1Pair o)
- Specified by:
compareTo
in interface java.lang.Comparable<Step1Pair>
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Pair<CloneableText,ClusterId>
readFields
public void readFields(java.io.DataInput arg0)
throws java.io.IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
java.io.IOException
write
public void write(java.io.DataOutput arg0)
throws java.io.IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
java.io.IOException