public class Wind
extends java.lang.Object
| Constructor and Description |
|---|
Wind() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
WindDirection |
getDirection() |
double |
getSpeed() |
int |
hashCode() |
void |
setDirection(WindDirection direction) |
void |
setSpeed(double speed) |
java.lang.String |
toString() |
public double getSpeed()
public WindDirection getDirection()
public void setSpeed(double speed)
public void setDirection(WindDirection direction)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object