Back to project page ShowCast.
The source code is released under:
GNU General Public License
If you think the Android project ShowCast 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 prezcast.sgu.fr.showcast.db.setting; /* www. j a v a 2s.co m*/ /** * Represent the type of data */ public enum EnumSettingsType { INT(1), STRING(2), BOOLEAN(3); public int id; private EnumSettingsType(int id){ this.id = id; } public static EnumSettingsType getFromId(int id){ for(EnumSettingsType e: EnumSettingsType.values()){ if(e.id == id){ return e; } } return null; } }