public class Atmosphere
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
Atmosphere.PressureChange |
| Constructor and Description |
|---|
Atmosphere()
Simple constructor.
|
Atmosphere(int humidity,
double visibility,
double pressure,
Atmosphere.PressureChange change) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object o) |
Atmosphere.PressureChange |
getChange()
Change in pressure
|
int |
getHumidity()
Relative humidity
|
double |
getPressure()
Barometric pressure
|
double |
getVisibility()
Visibility distance
|
int |
hashCode() |
void |
setChange(Atmosphere.PressureChange change)
Change in pressure
|
void |
setHumidity(int humidity)
Relative humidity
|
void |
setPressure(double pressure)
Barometric pressure
|
void |
setVisibility(double visibility)
Visibility distance
|
java.lang.String |
toString() |
public Atmosphere()
public Atmosphere(int humidity,
double visibility,
double pressure,
Atmosphere.PressureChange change)
humidity - humidity, in percentvisibility - visibility distance (value beyond 1/100ths of a unit will be truncated)pressure - barometric pressurechange - state of the barometric pressurepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int getHumidity()
public void setHumidity(int humidity)
humidity - humidity, in percentpublic double getVisibility()
public void setVisibility(double visibility)
visibility - distance (value beyond 1/100ths of a unit will be truncated)public double getPressure()
public void setPressure(double pressure)
pressure - pressurepublic Atmosphere.PressureChange getChange()
public void setChange(Atmosphere.PressureChange change)
change - PressureChange objectpublic java.lang.Object clone()
clone in class java.lang.ObjectCopyright © 2025. All rights reserved.