| Package | Description |
|---|---|
| org.jaitools.numeric |
Classes providing a range of numeric functions including summary statistics,
defining and comparing ranges (intervals), and compiling histogram data.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Number & Comparable> |
Range.create(T minValue,
boolean minIncluded,
T maxValue,
boolean maxIncluded)
Static create method.
|
static <T extends Number & Comparable> |
Range.create(T value,
int... inf)
Creates a Range instance that is a point (degenerate) interval.
|
static <T extends Number & Comparable> |
RangeUtils.intersection(Range<T> r1,
Range<T> r2)
Gets the intersection of two ranges.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Number & Comparable> |
RangeUtils.createComplement(Collection<Range<T>> ranges)
Creates the complement of the given list of
Ranges. |
static <T extends Number & Comparable> |
RangeUtils.createComplement(Range<T> range)
Creates the complement of a
Range. |
List<Range<Double>> |
AbstractProcessor.getNoDataRanges()
Gets the ranges of sample values to be considered as NoData.
|
List<Range<Double>> |
Processor.getNoDataRanges()
Gets the ranges of sample values to be considered as NoData.
|
List<Range<Double>> |
AbstractProcessor.getRanges()
Gets the
Ranges of sample values excluded from/included in calculations. |
List<Range<Double>> |
Processor.getRanges()
Gets the
Ranges of sample values excluded from/included in calculations. |
static <T extends Number & Comparable> |
RangeUtils.simplify(Collection<Range<T>> ranges)
Simplifies a collection of ranges by merging those which overlap.
|
static <T extends Number & Comparable> |
RangeUtils.sort(Collection<Range<T>> ranges)
Sorts a collection of ranges into ascending order of min value, then max value.
|
static <T extends Number & Comparable> |
RangeUtils.subtract(Range<T> r1,
Range<T> r2)
Subtracts the first range from the second.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Histogram.addBin(Range<T> range)
Adds a new bin to the histogram.
|
void |
AbstractProcessor.addNoDataRange(Range<Double> noData)
Sets a range of values to be considered as NoData.
|
void |
StreamingSampleStats.addNoDataRange(Range<Double> noData)
Adds a range of values to be considered as NoData and then to be excluded
from the calculation of all statistics.
|
void |
Processor.addNoDataRange(Range<Double> noData)
Sets a range of values to be considered as NoData.
|
void |
AbstractProcessor.addRange(Range<Double> range)
Sets a range of values to exclude from or include in from
calculations.
|
void |
StreamingSampleStats.addRange(Range<Double> range)
Adds a range of values to include in or exclude from the calculation
of all statistics.
|
void |
Processor.addRange(Range<Double> range)
Sets a range of values to exclude from or include in from
calculations.
|
void |
AbstractProcessor.addRange(Range<Double> range,
Range.Type rangesType)
Sets a range of values to exclude from or include in calculations.
|
void |
StreamingSampleStats.addRange(Range<Double> range,
Range.Type rangesType)
Adds a range of values to include in or exclude from the calculation
of all statistics.
|
void |
Processor.addRange(Range<Double> range,
Range.Type rangeType)
Sets a range of values to exclude from or include in calculations.
|
int |
RangeComparator.compare(Range<T> r1,
Range<T> r2)
Compares two ranges.
|
int |
RangeComparator.compare(Range<T> r1,
Range<T> r2)
Compares two ranges.
|
RangeExtendedComparator.Result |
RangeExtendedComparator.compare(Range<T> r1,
Range<T> r2)
Compares two Range objects and return the
RangeComparator.Result
that describes the relationship between them from the point of view of the first Range |
RangeExtendedComparator.Result |
RangeExtendedComparator.compare(Range<T> r1,
Range<T> r2)
Compares two Range objects and return the
RangeComparator.Result
that describes the relationship between them from the point of view of the first Range |
static <T extends Number & Comparable> |
RangeUtils.createComplement(Range<T> range)
Creates the complement of a
Range. |
static <T extends Number & Comparable> |
RangeUtils.intersection(Range<T> r1,
Range<T> r2)
Gets the intersection of two ranges.
|
static <T extends Number & Comparable> |
RangeUtils.intersection(Range<T> r1,
Range<T> r2)
Gets the intersection of two ranges.
|
boolean |
Range.intersects(Range<T> other)
Tests if this range intersects another range.
|
static <T extends Number & Comparable> |
RangeUtils.subtract(Range<T> r1,
Range<T> r2)
Subtracts the first range from the second.
|
static <T extends Number & Comparable> |
RangeUtils.subtract(Range<T> r1,
Range<T> r2)
Subtracts the first range from the second.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Number & Comparable> |
RangeUtils.createComplement(Collection<Range<T>> ranges)
Creates the complement of the given list of
Ranges. |
static <T extends Number & Comparable> |
RangeUtils.simplify(Collection<Range<T>> ranges)
Simplifies a collection of ranges by merging those which overlap.
|
static <T extends Number & Comparable> |
RangeUtils.sort(Collection<Range<T>> ranges)
Sorts a collection of ranges into ascending order of min value, then max value.
|
static <T extends Number & Comparable> |
RangeUtils.sortInPlace(List<Range<T>> ranges)
Sorts a list of ranges into ascending order of min value, then max value.
|
| Constructor and Description |
|---|
Range(Range<T> other)
Creates a copy of another Range instance.
|
Copyright © 2009–2018. All rights reserved.