|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--jumbo.xml.util.Choice2
offers the choice of 0 or 1; useful to restrict argument values (rather like enum). The user cannot access the constructor so has to use Choice2.Y, etc.
| Field Summary | |
static Choice2 |
one
|
static Choice2 |
X
|
static Choice2 |
Y
|
static Choice2 |
zero
|
| Method Summary | |
int |
getValue()
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public static final Choice2 X
public static final Choice2 Y
public static final Choice2 zero
public static final Choice2 one
| Method Detail |
public int getValue()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||