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.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic 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 windUnitspublic java.lang.Object clone()
clone in class java.lang.Object