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()
Units
public void setChill(int chill)
chill
- int temperature valueUnits
public int getDirection()
public void setDirection(int direction)
direction
- int direction of wind.public int getSpeed()
Units
public void setSpeed(int speed)
speed
- int speed of windUnits
Copyright © 2021. All rights reserved.