Java org.jfree.data Range fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.data Range fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.data Range.

The text is from its open source code.

Constructor

Method

Rangecombine(Range range1, Range range2)
Creates a new range by combining two existing ranges.
RangecombineIgnoringNaN(Range range1, Range range2)
Returns a new range that spans both range1 and range2.
doubleconstrain(double value)
Returns the value within the range that is closest to the specified value.
booleancontains(double value)
Returns true if the range contains the specified value and false otherwise.
booleanequals(Object obj)
Tests this object for equality with an arbitrary object.
Rangeexpand(Range range, double lowerMargin, double upperMargin)
Creates a new range by adding margins to an existing range.
RangeexpandToInclude(Range range, double value)
Returns a range that includes all the values in the specified range AND the specified value.
doublegetCentralValue()
Returns the central value for the range.
doublegetLength()
Returns the length of the range.
doublegetLowerBound()
Returns the lower bound for the range.
doublegetUpperBound()
Returns the upper bound for the range.
inthashCode()
Returns a hash code.
booleanintersects(double b0, double b1)
Returns true if the range intersects with the specified range, and false otherwise.
booleanisNaNRange()
Returns true if both the lower and upper bounds are Double.NaN, and false otherwise.
Rangescale(Range base, double factor)
Scales the range by the specified factor.
Rangeshift(Range base, double delta)
Shifts the range by the specified amount.