public final class StringRangeAdaptor extends Object implements IRangeAdaptor<StringRange,NumericComparableString>
| Modifier and Type | Method and Description |
|---|---|
NumericComparableString |
adaptValueType(Object value)
Adapts value type to the type of specific
IRangeAdaptor implementation. |
static IRangeAdaptor<StringRange,NumericComparableString> |
getInstance() |
NumericComparableString |
getMax(StringRange range)
Gets max value of range.
|
NumericComparableString |
getMin(StringRange range)
Gets min value of range.
|
boolean |
useOriginalSource() |
public static IRangeAdaptor<StringRange,NumericComparableString> getInstance()
public NumericComparableString getMax(StringRange range)
IRangeAdaptorgetMax in interface IRangeAdaptor<StringRange,NumericComparableString>public NumericComparableString getMin(StringRange range)
IRangeAdaptorgetMin in interface IRangeAdaptor<StringRange,NumericComparableString>public NumericComparableString adaptValueType(Object value)
IRangeAdaptorIRangeAdaptor implementation. To have the possibility to
compare these values.adaptValueType in interface IRangeAdaptor<StringRange,NumericComparableString>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<StringRange,NumericComparableString>Copyright © 2004–2019 OpenL Tablets. All rights reserved.