Package net.sf.freecol.common.networking
Enum ChangeSet.SeeCheck
- java.lang.Object
-
- java.lang.Enum<ChangeSet.SeeCheck>
-
- net.sf.freecol.common.networking.ChangeSet.SeeCheck
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ChangeSet.SeeCheck>
- Enclosing class:
- ChangeSet
private static enum ChangeSet.SeeCheck extends java.lang.Enum<ChangeSet.SeeCheck>
Result of a visibility check.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
SeeCheck()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ChangeSet.SeeCheck
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ChangeSet.SeeCheck[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VISIBLE
public static final ChangeSet.SeeCheck VISIBLE
-
INVISIBLE
public static final ChangeSet.SeeCheck INVISIBLE
-
SPECIAL
public static final ChangeSet.SeeCheck SPECIAL
-
-
Method Detail
-
values
public static ChangeSet.SeeCheck[] 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 (ChangeSet.SeeCheck c : ChangeSet.SeeCheck.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChangeSet.SeeCheck valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-