N - the type of the field valuepublic interface NumericFieldInfo<N extends Number> extends BaseFieldInfo<N>
It contains default methods for common checks, which are calls to methods on NumericCondition.
| Modifier and Type | Method and Description |
|---|---|
default StepCondition |
between(N minIncluded,
N maxExcluded)
|
default StepCondition |
between(NumericFieldInfo<N> minIncluded,
NumericFieldInfo<N> maxExcluded)
|
NumericCondition<N> |
getNumericCondition()
Returns a new numeric condition that will use this as a value.
|
default StepCondition |
greaterOrEquals(N value)
|
default StepCondition |
greaterOrEquals(NumericFieldInfo<N> value)
|
default StepCondition |
greaterThan(N value)
|
default StepCondition |
greaterThan(NumericFieldInfo<N> value)
|
default StepCondition |
lesserOrEquals(N value)
|
default StepCondition |
lesserOrEquals(NumericFieldInfo<N> value)
|
default StepCondition |
lesserThan(N value)
|
default StepCondition |
lesserThan(NumericFieldInfo<N> value)
|
default NumericCondition<N> |
times(int multiplier)
|
default NumericCondition<N> |
when(StepCondition condition)
|
default StepCondition lesserThan(N value)
value - the right side valueNumericCondition.lesserThan(Number)default StepCondition lesserThan(NumericFieldInfo<N> value)
value - the right side valueNumericCondition.lesserThan(NumericFieldInfo)default StepCondition lesserOrEquals(N value)
value - the right side valueNumericCondition.lesserOrEquals(Number)default StepCondition lesserOrEquals(NumericFieldInfo<N> value)
value - the right side valueNumericCondition.lesserOrEquals(NumericFieldInfo)default StepCondition greaterThan(N value)
value - the right side valueNumericCondition.greaterThan(Number)default StepCondition greaterThan(NumericFieldInfo<N> value)
value - the right side valueNumericCondition.greaterThan(NumericFieldInfo)default StepCondition greaterOrEquals(N value)
value - the right side valueNumericCondition.greaterOrEquals(Number)default StepCondition greaterOrEquals(NumericFieldInfo<N> value)
value - the right side valueNumericCondition.greaterOrEquals(NumericFieldInfo)default StepCondition between(N minIncluded, N maxExcluded)
minIncluded - the min value includedmaxExcluded - the max value excludedNumericCondition.between(Number, Number)default StepCondition between(NumericFieldInfo<N> minIncluded, NumericFieldInfo<N> maxExcluded)
minIncluded - the min value includedmaxExcluded - the max value excludedNumericCondition.between(NumericFieldInfo, NumericFieldInfo)default NumericCondition<N> times(int multiplier)
multiplier - the multiplierNumericCondition.times(int)default NumericCondition<N> when(StepCondition condition)
condition - the condition to evaluateNumericCondition.when(StepCondition)NumericCondition<N> getNumericCondition()
Copyright © 2018. All rights reserved.