java.lang.Object | |
↳ | org.jfree.data.time.TimePeriodValue |
Represents a time period and an associated value.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new data item.
| |||||||||||
Constructs a new data item.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Clones the object.
| |||||||||||
Tests this object for equality with the target object.
| |||||||||||
Returns the time period.
| |||||||||||
Returns the value.
| |||||||||||
Returns a hash code value for the object.
| |||||||||||
Sets the value for this data item.
| |||||||||||
Returns a string representing this instance, primarily for use in
debugging.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Constructs a new data item.
period | the time period (null not permitted). |
---|---|
value | the value associated with the time period. |
IllegalArgumentException | if period is
null .
|
---|
Constructs a new data item.
period | the time period (null not permitted). |
---|---|
value | the value associated with the time period. |
IllegalArgumentException | if period is
null .
|
---|
Clones the object.
Note: no need to clone the period or value since they are immutable classes.
Tests this object for equality with the target object.
obj | the object (null permitted). |
---|
Returns a hash code value for the object.
Sets the value for this data item.
value | the new value (null permitted). |
---|
Returns a string representing this instance, primarily for use in debugging.