Class pmr.util.Choice3
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pmr.util.Choice3

java.lang.Object
   |
   +----pmr.util.Choice3

public class Choice3
extends 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.
Author:
(C) P. Murray-Rust, 1996

Variable Index

 o one
 o two
 o X
 o Y
 o Z
 o zero

Method Index

 o getValue()

Variables

 o X
  public final static Choice3 X
 o Y
  public final static Choice3 Y
 o Z
  public final static Choice3 Z
 o zero
  public final static Choice3 zero
 o one
  public final static Choice3 one
 o two
  public final static Choice3 two

Methods

 o getValue
  public int getValue()

All Packages  Class Hierarchy  This Package  Previous  Next  Index