public class RationalCoercer extends StandardCoercer
MAX_PRIORITY| Constructor and Description |
|---|
RationalCoercer() |
| Modifier and Type | Method and Description |
|---|---|
Rational |
coerceValue(IType typeToCoerceTo,
Object value) |
int |
getPriority(IType to,
IType from) |
static RationalCoercer |
instance() |
handlesNull, isCoercingDimensionWithSameType, isExplicitCoercionpublic static RationalCoercer instance()
public int getPriority(IType to, IType from)
getPriority in interface ICoercergetPriority in class StandardCoercerCopyright © 2021. All rights reserved.