public class Sign
Object representing available sign information.
Constructor and Description |
---|
Sign(SignType type,
float number)
Object representing available sign information.
|
Modifier and Type | Method and Description |
---|---|
SignType |
component1()
Type of the sign
|
float |
component2()
Numeric value of the sign,
|
Sign |
copy(SignType type,
float number)
Object representing available sign information.
|
boolean |
equals(java.lang.Object p) |
float |
getNumber()
Numeric value of the sign,
|
SignType |
getType()
Type of the sign
|
int |
hashCode() |
java.lang.String |
toString() |
public Sign(SignType type, float number)
Object representing available sign information.
type
- Type of the signnumber
- Numeric value of the sign, where available (eg. speed, mass, height etc.).type
- Type of the signnumber
- Numeric value of the sign, where available (eg. speed, mass, height etc.).public SignType getType()
Type of the sign
public float getNumber()
Numeric value of the sign,
where available (eg. speed, mass, height etc.).
public SignType component1()
Type of the sign
public float component2()
Numeric value of the sign,
where available (eg. speed, mass, height etc.).
public Sign copy(SignType type, float number)
Object representing available sign information.
type
- Type of the signnumber
- Numeric value of the sign, where available (eg. speed, mass, height etc.).public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)