public static class Atmosphere.PressureChange extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static Atmosphere.PressureChange |
FALLING |
static Atmosphere.PressureChange |
RISING |
static Atmosphere.PressureChange |
STEADY |
Modifier and Type | Method and Description |
---|---|
static Atmosphere.PressureChange |
fromCode(int code)
Gets a PressureChange instance for this int code.
|
int |
getCode()
The integer code for this chage state
|
String |
toString() |
public static final Atmosphere.PressureChange RISING
public static final Atmosphere.PressureChange STEADY
public static final Atmosphere.PressureChange FALLING
public int getCode()
public static Atmosphere.PressureChange fromCode(int code)
code
- int code valueRuntimeException
- if no 0, 1, or 2.Copyright © 2017. All rights reserved.