org.apache.mahout.math
Class VarLongWritable
java.lang.Object
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
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
VarLongWritable
public VarLongWritable()
VarLongWritable
public VarLongWritable(long value)
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.