public class Wind
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private int |
chill |
private int |
direction |
private EqualsBean |
equals |
private static long |
serialVersionUID |
private int |
speed |
private ToStringBean |
toString |
Constructor and Description |
---|
Wind() |
Wind(int chill,
int direction,
int speed) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.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
|
java.lang.String |
toString() |
private static final long serialVersionUID
private transient ToStringBean toString
private transient EqualsBean equals
private int chill
private int direction
private int speed
public Wind()
public Wind(int chill, int direction, int speed)
chill
- wind chill adjusted temperaturedirection
- direction of wind in degreesspeed
- speed of windpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public 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
public java.lang.Object clone()
clone
in class java.lang.Object