|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.ml.cml.util.Choice3
public class Choice3
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.
| Field Summary | |
|---|---|
static Choice3 |
one
DOCUMENT ME! |
static Choice3 |
two
DOCUMENT ME! |
static Choice3 |
X
DOCUMENT ME! |
static Choice3 |
Y
DOCUMENT ME! |
static Choice3 |
Z
DOCUMENT ME! |
static Choice3 |
zero
DOCUMENT ME! |
| Method Summary | |
|---|---|
int |
getValue()
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Choice3 X
public static final Choice3 Y
public static final Choice3 Z
public static final Choice3 zero
public static final Choice3 one
public static final Choice3 two
| Method Detail |
|---|
public int getValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||