public final class IntRangeAdaptor extends Object implements IRangeAdaptor<IntRange,Long>
| Modifier and Type | Method and Description |
|---|---|
Long |
adaptValueType(Object value)
Adapts value type to the type of specific
IRangeAdaptor implementation. |
static IRangeAdaptor<IntRange,Long> |
getInstance() |
Long |
getMax(IntRange range)
Gets max value of range.
|
Long |
getMin(IntRange range)
Gets min value of range.
|
boolean |
useOriginalSource() |
public static IRangeAdaptor<IntRange,Long> getInstance()
public Long getMax(IntRange range)
getMax in interface IRangeAdaptor<IntRange,Long>public Long getMin(IntRange range)
getMin in interface IRangeAdaptor<IntRange,Long>public Long adaptValueType(Object value)
IRangeAdaptorIRangeAdaptor implementation. To have the possibility to
compare these values.adaptValueType in interface IRangeAdaptor<IntRange,Long>value - that is going to be compared with values returned by IRangeAdaptor.getMax(Object) and
IRangeAdaptor.getMin(Object) values.IRangeAdaptor implementation.public boolean useOriginalSource()
useOriginalSource in interface IRangeAdaptor<IntRange,Long>Copyright © 2004–2019 OpenL Tablets. All rights reserved.