Back to project page doubanbook4android.
The source code is released under:
Eclipse Public License - v 1.0 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECI...
If you think the Android project doubanbook4android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.study.doubanbook_for_android.model; /*from w w w.ja v a2 s .c om*/ import java.io.Serializable; /** * subclass of bookItem * * @author tezuka-pc * */ public class Rating implements Serializable { /** * */ private static final long serialVersionUID = 7981289183680766588L; private int max; private int numRaters; private double average; private int min; public int getMax() { return max; } public void setMax(int max) { this.max = max; } public int getNumRaters() { return numRaters; } public void setNumRaters(int numRaters) { this.numRaters = numRaters; } public double getAverage() { return average; } public void setAverage(double average) { this.average = average; } public int getMin() { return min; } public void setMin(int min) { this.min = min; } // {"max":10,"numRaters":9438,"average":"9.1","min":0} }