public abstract static class AbstractWeather.Wind
extends java.lang.Object
implements java.io.Serializable
Provides default behaviours for Wind.
Modifier and Type | Method and Description |
---|---|
float |
getWindDegree() |
float |
getWindSpeed() |
boolean |
hasWindDegree()
Tells if degree (degree gives direction) of wind in the city is available or not.
|
boolean |
hasWindSpeed()
Tells if speed of wind in the city is available or not.
|
public boolean hasWindSpeed()
true
if data available, otherwise false
.public boolean hasWindDegree()
true
if data available, otherwise false
.public float getWindSpeed()
Float.NaN
.public float getWindDegree()
Float.NaN
.