Enum Class
- java.lang.Object
-
- java.lang.Enum<Class>
-
- com.aoindustries.aoserv.client.net.reputation.Class
-
- All Implemented Interfaces:
Serializable,Comparable<Class>
public enum Class extends Enum<Class>
The set of possible classes- Author:
- AO Industries, Inc.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClassvalueOf(String name)Returns the enum constant of this type with the specified name.static Class[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
gm
public static final Class gm
Manual Good
-
bm
public static final Class bm
Manual Bad
-
bd
public static final Class bd
Definite Bad
-
bu
public static final Class bu
Uncertain Bad
-
gu
public static final Class gu
Uncertain Good
-
gd
public static final Class gd
Definite Good
-
gn
public static final Class gn
Network Good
-
uu
public static final Class uu
Unknown
-
-
Method Detail
-
values
public static Class[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Class c : Class.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Class valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-