|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.unigram.likelike.common.RelatedUsersWritable
public class RelatedUsersWritable
Constructor Summary | |
---|---|
RelatedUsersWritable()
Constructor. |
|
RelatedUsersWritable(java.util.List<org.apache.hadoop.io.LongWritable> users)
Constructor. |
|
RelatedUsersWritable(java.lang.Long id)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
equals. |
java.util.List<org.apache.hadoop.io.LongWritable> |
getRelatedUsers()
Get related users. |
int |
hashCode()
hashCode. |
void |
readFields(java.io.DataInput in)
Create RelatedUsersWritable from input stream. |
java.lang.String |
toString()
Create String. |
void |
write(java.io.DataOutput out)
write. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RelatedUsersWritable()
public RelatedUsersWritable(java.util.List<org.apache.hadoop.io.LongWritable> users)
users
- related userspublic RelatedUsersWritable(java.lang.Long id)
id
- related user idMethod Detail |
---|
public java.util.List<org.apache.hadoop.io.LongWritable> getRelatedUsers()
public void readFields(java.io.DataInput in) throws java.io.IOException
readFields
in interface org.apache.hadoop.io.Writable
in
- input stream
java.io.IOException
- -public void write(java.io.DataOutput out) throws java.io.IOException
write
in interface org.apache.hadoop.io.Writable
out
- output stream
java.io.IOException
- -public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- checked whether o is identical to this or not
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |