Back to project page interdroid-swan.
The source code is released under:
Copyright (c) 2008-2011 Vrije Universiteit, The Netherlands All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the follo...
If you think the Android project interdroid-swan 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 interdroid.swan.swansong; /*w w w . j ava 2 s. c om*/ public enum TriState { TRUE("true", 1), FALSE("false", 0), UNDEFINED("undefined", -1); private String mText; private int mCode; private TriState(String text, int code) { this.mCode = code; this.mText = text; } public String toString() { return mText; } public int toCode() { return mCode; } }