Package org.jfree.data
Class DomainOrder
- java.lang.Object
-
- org.jfree.data.DomainOrder
-
- All Implemented Interfaces:
java.io.Serializable
public final class DomainOrder extends java.lang.Object implements java.io.Serializable
Used to indicate sorting order if any (ascending, descending or none).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static DomainOrderASCENDINGAscending order.static DomainOrderDESCENDINGDescending order.static DomainOrderNONENo order.
-
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.
-
-
-
Field Detail
-
NONE
public static final DomainOrder NONE
No order.
-
ASCENDING
public static final DomainOrder ASCENDING
Ascending order.
-
DESCENDING
public static final DomainOrder DESCENDING
Descending order.
-
-
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
-
-