Enum.valid

Overview | Methods | This Package | All Packages

Enum.valid

Determines whether the specified value is one of the constants defined in this class.

Syntax

public static boolean valid( int value )

Parameters

value

The value to check.

Return Value

Returns true if the value is valid for this class; otherwise, returns false.

Remarks

The default implementation returns false. Be sure to override this method in your own enumerator class.