Package org.jfree.util
Class UnitType
- java.lang.Object
-
- org.jfree.util.UnitType
-
- All Implemented Interfaces:
java.io.Serializable
public final class UnitType extends java.lang.Object implements java.io.Serializable
Used to indicate absolute or relative units.- Author:
- David Gilbert
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Returnstrueif this object is equal to the specified object, andfalseotherwise.inthashCode()Returns a hash code value for the object.java.lang.StringtoString()Returns a string representing the object.
-
-
-
Method Detail
-
toString
public java.lang.String toString()
Returns a string representing the object.- Overrides:
toStringin classjava.lang.Object- Returns:
- The string.
-
equals
public boolean equals(java.lang.Object obj)
Returnstrueif this object is equal to the specified object, andfalseotherwise.- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- the other object.- Returns:
- A boolean.
-
hashCode
public int hashCode()
Returns a hash code value for the object.- Overrides:
hashCodein classjava.lang.Object- Returns:
- The hashcode
-
-