public enum AngleUnit extends Enum<AngleUnit>
Enum Constant and Description |
---|
CARTESIAN_ARCSECOND |
CARTESIAN_DEGREE |
CARTESIAN_RADIAN |
COMPASS_ARCSECOND |
COMPASS_DEGREE |
COMPASS_RADIAN |
DEFAULT |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static AngleUnit |
fromValue(int value) |
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 DEFAULT
public static final AngleUnit CARTESIAN_RADIAN
public static final AngleUnit COMPASS_RADIAN
public static final AngleUnit CARTESIAN_DEGREE
public static final AngleUnit COMPASS_DEGREE
public static final AngleUnit CARTESIAN_ARCSECOND
public static final AngleUnit COMPASS_ARCSECOND
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 nullpublic static AngleUnit fromValue(int value)
Copyright © 2022. All rights reserved.