|
Ajocado Implementation 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.arquillian.ajocado.utils.PrimitiveUtils
public final class PrimitiveUtils
The static methods desired to simplify conversion of primitive types.
| Method Summary | |
|---|---|
static Boolean |
asBoolean(String string)
Converts string to boolean |
static Double |
asDouble(String string)
Converts string to double |
static Float |
asFloat(String string)
Converts string to float |
static Integer |
asInteger(String string)
Converts string to integer |
static Long |
asLong(String string)
Converts string to long |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Boolean asBoolean(String string)
string - to convert
public static Long asLong(String string)
string - to convert
public static Integer asInteger(String string)
string - to convert
public static Double asDouble(String string)
string - to convert
public static Float asFloat(String string)
string - to convert
|
Ajocado Implementation 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||