java.io.Serializablepublic final class UnitType extends java.lang.Object implements java.io.Serializable
| Modifier and Type | Field | Description |
|---|---|---|
static UnitType |
ABSOLUTE |
Absolute.
|
static UnitType |
RELATIVE |
Relative.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
Returns
true if this object is equal to the specified
object, and false otherwise. |
int |
hashCode() |
Returns a hash code value for the object.
|
java.lang.String |
toString() |
Returns a string representing the object.
|
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
true if this object is equal to the specified
object, and false otherwise.equals in class java.lang.Objectobj - the other object.public int hashCode()
hashCode in class java.lang.Object