org.apache.mahout.cf.taste.hadoop.als
Class TaggedVarIntWritable
java.lang.Object
org.apache.mahout.cf.taste.hadoop.als.TaggedVarIntWritable
- All Implemented Interfaces:
- Comparable<TaggedVarIntWritable>, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable<TaggedVarIntWritable>
public class TaggedVarIntWritable
- extends Object
- implements org.apache.hadoop.io.WritableComparable<TaggedVarIntWritable>
TaggedVarIntWritable
public TaggedVarIntWritable()
TaggedVarIntWritable
public TaggedVarIntWritable(int value,
boolean tagged)
get
public int get()
compareTo
public int compareTo(TaggedVarIntWritable other)
- Specified by:
compareTo
in interface Comparable<TaggedVarIntWritable>
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.