Class Wind
java.lang.Object
com.github.prominence.openweathermap.api.model.weather.Wind
The type Wind.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGets degrees.getGust()Gets gust value.doublegetSpeed()Gets speed.getUnit()Gets unitSystem.inthashCode()voidsetDegrees(double degrees) Sets degrees.voidsetGust(double gust) Sets gust value.voidsetSpeed(double speed) Sets speed.voidSets unitSystem.toString()static WindCreatesWindobject with correctness check.
-
Method Details
-
withValue
-
getSpeed
public double getSpeed()Gets speed.- Returns:
- the speed
-
setSpeed
public void setSpeed(double speed) Sets speed.- Parameters:
speed- the speed
-
getGust
-
setGust
public void setGust(double gust) Sets gust value.- Parameters:
gust- the gust.
-
getDegrees
-
setDegrees
public void setDegrees(double degrees) Sets degrees.- Parameters:
degrees- the degrees
-
getUnit
-
setUnit
-
equals
-
hashCode
-
toString
-