DhLinkTarget.valid

Overview | Methods | Fields | This Package | All Packages

DhLinkTarget.valid

Determines whether a specified value is valid for this enumeration type.

Syntax

public static boolean valid( int n )

Parameters

n

The value to check.

Return Value

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

Remarks

You should override this method in your own enumeration classes.