|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.aksingh.owmjapis.AbstractWeather.Main
public abstract static class AbstractWeather.Main
Provides default behaviours for Main, i.e., main weather elements like temperature, humidity, etc.
Method Summary | |
---|---|
float |
getHumidity()
|
float |
getMaxTemperature()
|
float |
getMinTemperature()
|
float |
getPressure()
|
float |
getTemperature()
|
boolean |
hasHumidity()
Tells if humidity of the city is available or not. |
boolean |
hasMaxTemperature()
Tells if the maximum temperature of the city is available or not. |
boolean |
hasMinTemperature()
Tells if the minimum temperature of the city is available or not. |
boolean |
hasPressure()
Tells if pressure of the city is available or not. |
boolean |
hasTemperature()
Tells if the temperature of the city is available or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean hasTemperature()
true
if data available, otherwise false
public boolean hasMinTemperature()
true
if data available, otherwise false
public boolean hasMaxTemperature()
true
if data available, otherwise false
public boolean hasPressure()
true
if data available, otherwise false
public boolean hasHumidity()
true
if data available, otherwise false
public float getTemperature()
Float.NaN
.public float getMinTemperature()
Float.NaN
.public float getMaxTemperature()
Float.NaN
.public float getPressure()
Float.NaN
.public float getHumidity()
Float.NaN
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |