public class BigIntegerWritable extends java.lang.Object implements org.apache.hadoop.io.WritableComparable<BigIntegerWritable>
Modifier and Type | Class and Description |
---|---|
static class |
BigIntegerWritable.Comparator
A Comparator optimized for BigIntegerWritable.
|
Constructor and Description |
---|
BigIntegerWritable() |
BigIntegerWritable(java.math.BigInteger bi) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(BigIntegerWritable o) |
boolean |
equals(java.lang.Object o) |
java.math.BigInteger |
get() |
int |
hashCode() |
void |
readFields(java.io.DataInput in) |
void |
set(java.math.BigInteger value) |
java.lang.String |
toString() |
void |
write(java.io.DataOutput out) |
public BigIntegerWritable()
public BigIntegerWritable(java.math.BigInteger bi)
public void set(java.math.BigInteger value)
public java.math.BigInteger get()
public int compareTo(BigIntegerWritable o)
compareTo
in interface java.lang.Comparable<BigIntegerWritable>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public void readFields(java.io.DataInput in) throws java.io.IOException
readFields
in interface org.apache.hadoop.io.Writable
java.io.IOException
public void write(java.io.DataOutput out) throws java.io.IOException
write
in interface org.apache.hadoop.io.Writable
java.io.IOException
Copyright © 2007-2012 The Apache Software Foundation