|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.syndication.feed.module.yahooweather.types.Atmosphere
public class Atmosphere
Forecast information about current atmospheric pressure, humidity, and visibility. Attributes:
| Nested Class Summary | |
|---|---|
static class |
Atmosphere.PressureChange
|
| Constructor Summary | |
|---|---|
Atmosphere()
Simple constructor. |
|
Atmosphere(int humidity,
double visibility,
double pressure,
Atmosphere.PressureChange change)
Constructs a new Atmosphere object |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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 pressure| Method Detail |
|---|
public 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.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||