public class Wind extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
Wind() |
Wind(int chill,
int direction,
int speed) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
equals(Object o) |
int |
getChill()
Wind chill adjusted temperature.
|
int |
getDirection()
Direction of wind in degrees
|
int |
getSpeed()
Speed of wind
|
int |
hashCode() |
void |
setChill(int chill)
Wind chill adjusted temperature.
|
void |
setDirection(int direction)
Direction of wind in degrees
|
void |
setSpeed(int speed)
Speed of wind
|
String |
toString() |
public Wind()
public Wind(int chill,
int direction,
int speed)
chill - wind chill adjusted temperaturedirection - direction of wind in degreesspeed - speed of windpublic int getChill()
Unitspublic void setChill(int chill)
chill - int temperature valueUnitspublic int getDirection()
public void setDirection(int direction)
direction - int direction of wind.public int getSpeed()
Unitspublic void setSpeed(int speed)
speed - int speed of windUnitsCopyright © 2021. All rights reserved.