public enum VerticalStatus extends Enum<VerticalStatus>
| Enum Constant and Description |
|---|
AIRBORNE
0 - The aircraft is airborne
|
GROUND
1 - The aircraft is on the ground
|
| Modifier and Type | Method and Description |
|---|---|
static VerticalStatus |
from(int status) |
static VerticalStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VerticalStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VerticalStatus AIRBORNE
public static final VerticalStatus GROUND
public static VerticalStatus[] values()
for (VerticalStatus c : VerticalStatus.values()) System.out.println(c);
public static VerticalStatus 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 VerticalStatus from(int status)
Copyright © 2020. All rights reserved.