Determines whether the specified value is one of the constants defined in this class.
public static boolean valid( int anchor )
value
The value to check.
Returns true if the value is valid; otherwise, returns false.