public abstract class Converter extends Object
| Constructor and Description |
|---|
Converter() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Number> |
valueOf(Class<T> type,
String number)
Generic call to valueOf static method of given numeric type.
|
static <T extends Number> |
valueOf(Class<T> type,
String number,
int radix)
Generic call to valueOf method of given numeric type considering a radix.
|
public static <T extends Number> T valueOf(Class<T> type, String number)
T - A type that extends Number.type - Numeric type to which the given string representation should be converted.number - String representation of the number.public static <T extends Number> T valueOf(Class<T> type, String number, int radix)
T - A type that extends Number.type - Numeric type to which the given string representation should be converted.number - String representation of the number.radix - Radix to use in the conversion.Copyright © 2018 eu.stamp-project. All rights reserved.