Determines whether a specified value is valid for this enumeration type.
public static boolean valid( int n )
n
The value to check.
Returns true if the value if valid for the class; otherwise, returns false.
You should override this in your derived class.