Package gw.lang.parser.coercers
Class BaseBoxedCoercer
java.lang.Object
gw.lang.parser.coercers.BaseCoercer
gw.lang.parser.coercers.StandardCoercer
gw.lang.parser.coercers.BaseBoxedCoercer
- All Implemented Interfaces:
ICoercer
- Direct Known Subclasses:
BooleanCoercer,ByteCoercer,CharCoercer,DoubleCoercer,FloatCoercer,IntCoercer,LongCoercer,ShortCoercer
-
Field Summary
Fields inherited from interface gw.lang.parser.ICoercer
MAX_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class gw.lang.parser.coercers.StandardCoercer
handlesNull, isCoercingDimensionWithSameType, isExplicitCoercionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gw.lang.parser.ICoercer
coerceValue
-
Constructor Details
-
BaseBoxedCoercer
public BaseBoxedCoercer()
-
-
Method Details
-
getPriority
- Specified by:
getPriorityin interfaceICoercer- Overrides:
getPriorityin classStandardCoercer- Returns:
- a value between 0 and MAX_PRIORITY, inclusive that indicates the priority of this coercer when resolving overloaded methods. Typically a coercer should return 0, but coercers that have a high affinity between the target and coerced type, such as primitives, can have higher priorities.
-