Back to project page QuantiModo-SDK-Android.
The source code is released under:
GNU General Public License
If you think the Android project QuantiModo-SDK-Android 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.quantimodo.android.sdk.model; // w w w . j a v a2s . co m /* { "name": "Kilometers", "abbreviatedName": "km", "category": "Distance", "minimum": "-Infinity", "maximum": "Infinity", "conversionSteps": [ { "operation": "MULTIPLY", "value": 1000 } ] } */ import java.util.ArrayList; public class Unit { public static final String COMBINE_SUM = "SUM"; public static final String COMBINE_MEAN = "MEAN"; public final String name; public final String abbreviatedName; public final String category; public final String minimum; public final String maximum; public final ArrayList<ConversionStep> conversionSteps; public Unit(String name, String abbreviatedName, String category, String minimum, String maximum, ArrayList<ConversionStep> conversionSteps) { this.name = name; this.abbreviatedName = abbreviatedName; this.category = category; this.minimum = minimum; this.maximum = maximum; this.conversionSteps = conversionSteps; } }