Class GenericMathFactory
Defines generic IMath factory.
Inheritance
GenericMathFactory
Namespace:
Assembly: .dll
Syntax
public class GenericMathFactory
Constructors
GenericMathFactory()
Declaration
public GenericMathFactory()
Fields
BYTE_MATH
Declaration
public static final IMath<Byte> BYTE_MATH
Field Value
DATE_MATH
Declaration
public static final IMath<Date> DATE_MATH
Field Value
DOUBLE_MATH
Declaration
public static final IMath<Double> DOUBLE_MATH
Field Value
FLOAT_MATH
Declaration
public static final IMath<Float> FLOAT_MATH
Field Value
INTEGER_MATH
Declaration
public static final IMath<Integer> INTEGER_MATH
Field Value
LONG_MATH
Declaration
public static final IMath<Long> LONG_MATH
Field Value
SHORT_MATH
Declaration
public static final IMath<Short> SHORT_MATH
Field Value
Methods
<T>create(Class<T> mathClass)
Tries to acquire IMath for specified class.
Declaration
public static IMath<T> <T>create(Class<T> mathClass)
Parameters
| Type |
Name |
Description |
| Class<T> |
mathClass |
The target class.
|
Returns
| Type |
Description |
| IMath<T> |
The math instance.
|