org.apache.mahout.cf.taste.hadoop.slopeone
Class FullRunningAverageAndStdDevWritable

java.lang.Object
  extended by org.apache.mahout.cf.taste.hadoop.slopeone.FullRunningAverageAndStdDevWritable
All Implemented Interfaces:
org.apache.hadoop.io.Writable

public final class FullRunningAverageAndStdDevWritable
extends Object
implements org.apache.hadoop.io.Writable


Constructor Summary
FullRunningAverageAndStdDevWritable(FullRunningAverageAndStdDev average)
           
 
Method Summary
 FullRunningAverageAndStdDev getAverage()
           
 void readFields(DataInput dataInput)
           
 String toString()
           
 void write(DataOutput dataOutput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FullRunningAverageAndStdDevWritable

public FullRunningAverageAndStdDevWritable(FullRunningAverageAndStdDev average)
Method Detail

getAverage

public FullRunningAverageAndStdDev getAverage()

toString

public String toString()
Overrides:
toString in class Object

write

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

readFields

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


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