org.jfree.data

Class DomainOrder

Implemented Interfaces:
Serializable

public final class DomainOrder
extends java.lang.Object
implements Serializable

Used to indicate sorting order if any (ascending, descending or none).

Field Summary

static DomainOrder
ASCENDING
Ascending order.
static DomainOrder
DESCENDING
Descending order.
static DomainOrder
NONE
No order.

Method Summary

boolean
equals(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.
String
toString()
Returns a string representing the object.

Field Details

ASCENDING

public static final DomainOrder ASCENDING
Ascending order.

DESCENDING

public static final DomainOrder DESCENDING
Descending order.

NONE

public static final DomainOrder NONE
No order.

Method Details

equals

public boolean equals(Object obj)
Returns true if this object is equal to the specified object, and false otherwise.
Parameters:
obj - the other object.
Returns:
A boolean.

hashCode

public int hashCode()
Returns a hash code value for the object.
Returns:
The hashcode

toString

public String toString()
Returns a string representing the object.
Returns:
The string.