public class IntIntPairWritable extends java.lang.Object implements org.apache.hadoop.io.WritableComparable<IntIntPairWritable>
Constructor and Description |
---|
IntIntPairWritable() |
IntIntPairWritable(int first,
int second) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IntIntPairWritable other) |
int |
getFirst() |
int |
getSecond() |
void |
readFields(java.io.DataInput in) |
void |
set(int first,
int second) |
void |
setFirst(int first) |
void |
setSecond(int second) |
void |
write(java.io.DataOutput out) |
public IntIntPairWritable()
public IntIntPairWritable(int first, int second)
public int getFirst()
public void setFirst(int first)
public int getSecond()
public void setSecond(int second)
public void set(int first, int second)
public void write(java.io.DataOutput out) throws java.io.IOException
write
in interface org.apache.hadoop.io.Writable
java.io.IOException
public void readFields(java.io.DataInput in) throws java.io.IOException
readFields
in interface org.apache.hadoop.io.Writable
java.io.IOException
public int compareTo(IntIntPairWritable other)
compareTo
in interface java.lang.Comparable<IntIntPairWritable>