jumbo.xml.util
Class Choice3
java.lang.Object
|
+--jumbo.xml.util.Choice3
- public class Choice3
- extends java.lang.Object
offers the choice of 0, 1 or 2; useful to restrict argument values
(rather like enum).
The user cannot access the constructor so has to use Choice3.Y, etc.
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
X
public static final Choice3 X
Y
public static final Choice3 Y
Z
public static final Choice3 Z
zero
public static final Choice3 zero
one
public static final Choice3 one
two
public static final Choice3 two
getValue
public int getValue()