public static enum Angle.Unit extends Enum<Angle.Unit>
| Enum Constant and Description | 
|---|
DEG
Degrees [°]. 
 | 
RAD
Radians [rad] SI unit. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Angle.Unit | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Angle.Unit[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Angle.Unit RAD
public static final Angle.Unit DEG
public static Angle.Unit[] values()
for (Angle.Unit c : Angle.Unit.values()) System.out.println(c);
public static Angle.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 © 2020. All rights reserved.