Package org.nuiton.profiling
Enum Unit.Memory
- java.lang.Object
-
- java.lang.Enum<Unit.Memory>
-
- org.nuiton.profiling.Unit.Memory
-
- All Implemented Interfaces:
Serializable,Comparable<Unit.Memory>
- Enclosing class:
- Unit
public static enum Unit.Memory extends Enum<Unit.Memory>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Unit.MemoryvalueOf(String name)Returns the enum constant of this type with the specified name.static Unit.Memory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
o
public static final Unit.Memory o
-
Ko
public static final Unit.Memory Ko
-
Mo
public static final Unit.Memory Mo
-
Go
public static final Unit.Memory Go
-
To
public static final Unit.Memory To
-
-
Method Detail
-
values
public static Unit.Memory[] 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 (Unit.Memory c : Unit.Memory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Unit.Memory 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
-
-