com.github.fedy2.weather.data
Class Wind

java.lang.Object
  extended by com.github.fedy2.weather.data.Wind

public class Wind
extends Object

Information about wind.

Author:
"Federico De Faveri defaveri@gmail.com"

Constructor Summary
Wind()
           
Wind(Integer chill, Integer direction, Float speed)
           
 
Method Summary
 Integer getChill()
          Returns the wind chill in degrees.
 Integer getDirection()
          Returns the wind direction, in degrees.
 Float getSpeed()
          Returns the wind speed, in the units specified in the speed attribute of the wind speed, in the units specified in the speed attribute of the units field of Channel class.
 String toString()
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Wind

public Wind()

Wind

public Wind(Integer chill,
            Integer direction,
            Float speed)
Parameters:
chill -
direction -
speed -
Method Detail

getChill

public Integer getChill()
Returns the wind chill in degrees.

Returns:
the chill

getDirection

public Integer getDirection()
Returns the wind direction, in degrees.

Returns:
the direction

getSpeed

public Float getSpeed()
Returns the wind speed, in the units specified in the speed attribute of the wind speed, in the units specified in the speed attribute of the units field of Channel class.

Returns:
the speed

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2013. All rights reserved.