Back to project page cirrus.
The source code is released under:
Apache License
If you think the Android project cirrus 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.inktomi.cirrus.forecast; // www.ja va 2s. c o m import org.simpleframework.xml.Element; @Element public enum LikelihoodUnits { PERCENT("percent"); private final String value; LikelihoodUnits(String v) { value = v; } public String value() { return value; } public static LikelihoodUnits fromValue(String v) { for (LikelihoodUnits c: LikelihoodUnits.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }