Package de.mhus.lib.core
Enum MConstants.ADDR_SCOPE
- java.lang.Object
-
- java.lang.Enum<MConstants.ADDR_SCOPE>
-
- de.mhus.lib.core.MConstants.ADDR_SCOPE
-
- All Implemented Interfaces:
Serializable,Comparable<MConstants.ADDR_SCOPE>
- Enclosing class:
- MConstants
public static enum MConstants.ADDR_SCOPE extends Enum<MConstants.ADDR_SCOPE>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MConstants.ADDR_SCOPEvalueOf(String name)Returns the enum constant of this type with the specified name.static MConstants.ADDR_SCOPE[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRIVATE
public static final MConstants.ADDR_SCOPE PRIVATE
-
WORK
public static final MConstants.ADDR_SCOPE WORK
-
-
Method Detail
-
values
public static MConstants.ADDR_SCOPE[] 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 (MConstants.ADDR_SCOPE c : MConstants.ADDR_SCOPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MConstants.ADDR_SCOPE 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
-
-