Package | Description |
---|---|
com.hp.util |
Generic utility classes.
|
com.hp.util.filter |
Classes providing conditions that can be applied to construct the desired filter.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Comparable<T>> |
Interval.createClosed(T leftEndpoint,
T rightEndpoint)
Creates a closed-type interval based on the nullability of
leftEndpoint and
rightEndpoint :
Closed: if neither leftEndpoint and rightEndpoint are null
Left unbounded right closed: if leftEndpoint is null but
rightEndpoint isn't
Left closed right unbounded: if leftEndpoint is not null but
rightEndpoint is
Unbounded: if both leftEndpoint and rightEndpoint are null
|
static <T extends Comparable<T>> |
Interval.createOpen(T leftEndpoint,
T rightEndpoint)
Creates an open-type interval based on the nullability of
leftEndpoint and
rightEndpoint :
Open: if neither leftEndpoint and rightEndpoint are null
Left unbounded right open: if leftEndpoint is null but
rightEndpoint isn't
Left open right unbounded: if leftEndpoint is not null but
rightEndpoint is
Unbounded: if both leftEndpoint and rightEndpoint are null
|
static <T extends Comparable<T>> |
Interval.valueOfClosed(T leftEndpoint,
T rightEndpoint)
Creates a closed interval:
[a, b] = {x | a <= x <= b} |
static <T extends Comparable<T>> |
Interval.valueOfLeftClosedRightOpen(T leftEndpoint,
T rightEndpoint)
Creates a left-closed right-open interval:
(a, b] = {x | a < x <= b} |
static <T extends Comparable<T>> |
Interval.valueOfLeftClosedRightUnbounded(T leftEndpoint)
Creates a Left closed right unbounded interval:
[a, infinite) = {x | x >= a} |
static <T extends Comparable<T>> |
Interval.valueOfLeftOpenRightClosed(T leftEndpoint,
T rightEndpoint)
Creates a left-open right-closed interval:
(a, b] = {x | a <= x < b} |
static <T extends Comparable<T>> |
Interval.valueOfLeftOpenRightUnbounded(T leftEndpoint)
Creates a left open right unbounded interval:
(a, infinite) = {x | x > a} |
static <T extends Comparable<T>> |
Interval.valueOfLeftUnboundedRightClosed(T rightEndpoint)
Creates a left unbounded right closed interval:
(infinite, b] = {x | x <= b} |
static <T extends Comparable<T>> |
Interval.valueOfLeftUnboundedRightOpen(T rightEndpoint)
Creates a left unbounded right open interval:
(infinite, b) = {x | x < b} |
static <T extends Comparable<T>> |
Interval.valueOfOpen(T leftEndpoint,
T rightEndpoint)
Creates a open interval:
(a, b) = {x | a < x < b} |
static <T extends Comparable<T>> |
Interval.valueOfUnbounded()
Creates an unbounded interval:
(infinite, infinite) = {x | x is a real number} |
Modifier and Type | Method and Description |
---|---|
Interval<D> |
IntervalCondition.getValue()
Gets the value associated with this condition.
|
Constructor and Description |
---|
IntervalCondition(Interval<D> value,
IntervalCondition.Mode mode)
Creates a new interval condition.
|
Copyright © 2015. All Rights Reserved.