Microsoft SDK for Java

DhPaddings.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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.