Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.pentaho.di.trans.steps.numberrange
Class NumberRangeRule

    java.lang.Object
      org.pentaho.di.trans.steps.numberrange.NumberRangeRule

    public class NumberRangeRule

extends Object

Contains one rule for a number range

Author:
  ronny.roeller@fredhopper.com

Constructor Summary
`NumberRangeRule(double lowerBound, double upperBound, String value)`

Method Summary
`String` | `evaluate(double compareValue)` Evaluates if the current value is within the range.
`double` | `getLowerBound()`
`double` | `getUpperBound()`
`String` | `getValue()`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### NumberRangeRule

    public NumberRangeRule(double lowerBound,
                           double upperBound,
                           String value)

Method Detail

### evaluate

    public String evaluate(double compareValue)

  Evaluates if the current value is within the range. If so, it returns the value. Otherwise it returns null.

### getLowerBound

    public double getLowerBound()

### getUpperBound

    public double getUpperBound()

### getValue

    public String getValue()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD