public enum AngleUnit extends Enum<AngleUnit>
| Enum Constant and Description |
|---|
DEGREE |
GON |
RADIAN |
SEMI_CIRCLE |
| Modifier and Type | Method and Description |
|---|---|
static AngleUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AngleUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AngleUnit RADIAN
public static final AngleUnit DEGREE
public static final AngleUnit GON
public static final AngleUnit SEMI_CIRCLE
public static AngleUnit[] values()
for (AngleUnit c : AngleUnit.values()) System.out.println(c);
public static AngleUnit 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 © 2007–2017 Andreas Bartels. All rights reserved.