public class NumberHelperFactory extends Object
NumberHelper
implemenations
based on the provided Number
type (such as Integer
or Float
).Constructor and Description |
---|
NumberHelperFactory() |
Modifier and Type | Method and Description |
---|---|
static <N extends Number> |
getNumberHelper(Class<N> type)
A factory allowing to create
NumberHelper implemenations
based on the provided Number type (such as Integer or Float ). |
public static <N extends Number> NumberHelper<N> getNumberHelper(Class<N> type) throws IllegalArgumentException
NumberHelper
implemenations
based on the provided Number
type (such as Integer
or Float
).type
- The type to construct the mappaed NumberHelper
.NumberHelper
mapping for the provided typeIllegalArgumentException
- No NumberHelper
for the provided typeCopyright © GigaSpaces.