public static enum Weight.Unit extends Enum<Weight.Unit>
Enum Constant and Description |
---|
BLACK_HOLE
A Call of the method can break the universe.
|
EXTRAHARD
A Call like ask "Ultimate Question of Life, the Universe, and Everything".
|
EXTRALIGHT
Lighter than light one.
|
FLUFF
Very very extra light.
|
HARD
Contains long loops or calls for hard methods.
|
LIGHT
Light, for instance a getter with some condition of light logic.
|
NORMAL
Normal weight for regular execution with conditions and short loops.
|
VARIABLE
Variable weight, can be changed in wide interval.
|
Modifier and Type | Method and Description |
---|---|
static Weight.Unit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Weight.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Weight.Unit VARIABLE
public static final Weight.Unit FLUFF
public static final Weight.Unit EXTRALIGHT
public static final Weight.Unit LIGHT
public static final Weight.Unit NORMAL
public static final Weight.Unit HARD
public static final Weight.Unit EXTRAHARD
public static final Weight.Unit BLACK_HOLE
public static Weight.Unit[] values()
for (Weight.Unit c : Weight.Unit.values()) System.out.println(c);
public static Weight.Unit valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2011–2020 Igor Maznitsa. All rights reserved.