java.lang.Object | |
↳ | org.jfree.data.ComparableObjectItem |
![]() |
Represents one (Comparable, Object) data item for use in a
ComparableObjectSeries
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new data item.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a clone of this object.
| |||||||||||
Returns an integer indicating the order of this object relative to
another object.
| |||||||||||
Tests if this object is equal to another.
| |||||||||||
Returns a hash code.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the x-value.
| |||||||||||
Returns the y-value.
| |||||||||||
Sets the y-value for this data item.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Constructs a new data item.
x | the x-value (null NOT permitted). |
---|---|
y | the y-value (null permitted).
|
Returns a clone of this object.
CloneNotSupportedException | not thrown by this class, but subclasses may differ. |
---|
Returns an integer indicating the order of this object relative to another object.
For the order we consider only the x-value: negative == "less-than", zero == "equal", positive == "greater-than".
o1 | the object being compared to. |
---|
Tests if this object is equal to another.
obj | the object to test against for equality (null
permitted). |
---|
Returns a hash code.
Sets the y-value for this data item. Note that there is no corresponding method to change the x-value.
y | the new y-value (null permitted).
|
---|