org.jfree.data
Class RangeType

java.lang.Object
  extended byorg.jfree.data.RangeType
All Implemented Interfaces:
java.io.Serializable

public final class RangeType
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
static RangeType FULL
          Full range (positive and negative).
static RangeType NEGATIVE
          Negative range.
static RangeType POSITIVE
          Positive range.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

FULL

public static final RangeType FULL
Full range (positive and negative).


POSITIVE

public static final RangeType POSITIVE
Positive range.


NEGATIVE

public static final RangeType NEGATIVE
Negative range.

Method Detail

toString

public java.lang.String toString()
Returns a string representing the object.

Returns:
The string.

equals

public boolean equals(java.lang.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