public class

YInterval

extends Object
implements Serializable
java.lang.Object
   ↳ org.jfree.data.xy.YInterval

Class Overview

A y-interval. This class is used internally by the YIntervalDataItem class.

Summary

Public Constructors
YInterval(double y, double yLow, double yHigh)
Creates a new instance of YInterval.
Public Methods
boolean equals(Object obj)
Tests this instance for equality with an arbitrary object.
double getY()
Returns the y-value.
double getYHigh()
Returns the upper bound of the y-interval.
double getYLow()
Returns the lower bound of the y-interval.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public YInterval (double y, double yLow, double yHigh)

Creates a new instance of YInterval.

Parameters
y the y-value.
yLow the lower bound of the y-interval.
yHigh the upper bound of the y-interval.

Public Methods

public boolean equals (Object obj)

Tests this instance for equality with an arbitrary object.

Parameters
obj the object (null permitted).
Returns
  • A boolean.

public double getY ()

Returns the y-value.

Returns
  • The y-value.

public double getYHigh ()

Returns the upper bound of the y-interval.

Returns
  • The upper bound of the y-interval.

public double getYLow ()

Returns the lower bound of the y-interval.

Returns
  • The lower bound of the y-interval.