|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.util.SimpleNumberCoercerFactory
public class SimpleNumberCoercerFactory
Factory for conversion/coercion and widening implementations for numbers.
Constructor Summary | |
---|---|
SimpleNumberCoercerFactory()
|
Method Summary | |
---|---|
static SimpleNumberCoercer |
getCoercer(java.lang.Class fromType,
java.lang.Class resultBoxedType)
Returns a coercer/widener/narrower to a result number type from a given type. |
static SimpleNumberBigDecimalCoercer |
getCoercerBigDecimal(java.lang.Class fromType)
Returns a coercer/widener to BigDecimal for a given type. |
static SimpleNumberBigIntegerCoercer |
getCoercerBigInteger(java.lang.Class fromType)
Returns a coercer/widener to BigInteger for a given type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleNumberCoercerFactory()
Method Detail |
---|
public static SimpleNumberBigDecimalCoercer getCoercerBigDecimal(java.lang.Class fromType)
fromType
- to widen
public static SimpleNumberBigIntegerCoercer getCoercerBigInteger(java.lang.Class fromType)
fromType
- to widen
public static SimpleNumberCoercer getCoercer(java.lang.Class fromType, java.lang.Class resultBoxedType)
fromType
- to widen/narrow, can be null to indicate that no shortcut-coercer is usedresultBoxedType
- type to widen/narrow to
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |