org.apache.mahout.math
Class VarLongWritable

java.lang.Object
  extended by org.apache.mahout.math.VarLongWritable
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable<VarLongWritable>, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable<VarLongWritable>
Direct Known Subclasses:
EntityCountWritable, EntityPrefWritable

public class VarLongWritable
extends java.lang.Object
implements org.apache.hadoop.io.WritableComparable<VarLongWritable>, java.lang.Cloneable


Constructor Summary
VarLongWritable()
           
VarLongWritable(long value)
           
 
Method Summary
 VarLongWritable clone()
           
 int compareTo(VarLongWritable other)
           
 boolean equals(java.lang.Object other)
           
 long get()
           
 int hashCode()
           
 void readFields(java.io.DataInput in)
           
 void set(long value)
           
 java.lang.String toString()
           
 void write(java.io.DataOutput out)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VarLongWritable

public VarLongWritable()

VarLongWritable

public VarLongWritable(long value)
Method Detail

get

public long get()

set

public void set(long value)

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

clone

public VarLongWritable clone()
Overrides:
clone in class java.lang.Object

compareTo

public int compareTo(VarLongWritable other)
Specified by:
compareTo in interface java.lang.Comparable<VarLongWritable>

write

public void write(java.io.DataOutput out)
           throws java.io.IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
java.io.IOException

readFields

public void readFields(java.io.DataInput in)
                throws java.io.IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
java.io.IOException


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.