|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectedu.northwestern.at.monk.model.SearchCriterion
edu.northwestern.at.monk.model.NumericCriterion
edu.northwestern.at.monk.model.DoubleCriterion
public abstract class DoubleCriterion
A type double numeric search criterion.
A double numeric criterion is a numeric criterion where the attribute value is
of type double.
Each double numeric criterion class offers constructors of the following forms, where
T is the type of the criterion:
T (double val)Creates a criterion that exactly matches
val.
T (Double val)Creates a criterion that exactly matches
val.
T (double start, double end)Creates a criterion for the range
startthroughendinclusive.
T (Double start, double end)Creates a criterion for the range
startthroughendinclusive.
T (double start, Double end)Creates a criterion for the range
startthroughendinclusive.
T (Double start, Double end)Creates a criterion for the range
startthroughendinclusive.
T (DoubleRange... ranges)Creates a criterion for a vararg list or array of
DoubleRangeranges.
T (Collection<DoubleRange> ranges)Creates a criterion for a collection of
DoubleRangeranges.
The start and/or end of a range may be null, in which case no constraint
is placed on the start and/or end. See NumericCriterion for
details and examples.
An empty or "no-op" criterion that matches any value can be constructed with a null value, with start and end values both of which are nll, or with an empty array or collection of ranges.
| Method Summary | |
|---|---|
java.lang.Double |
getEnd()
Gets the end of the range. |
DoubleRange |
getRange()
Gets the range. |
java.util.Collection<DoubleRange> |
getRanges()
Gets the ranges. |
java.lang.Double |
getStart()
Gets the start of the range. |
java.lang.Double |
getValue()
Gets the value. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.util.Collection<DoubleRange> getRanges()
public DoubleRange getRange()
public java.lang.Double getStart()
public java.lang.Double getEnd()
public java.lang.Double getValue()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||