public class IntType extends BaseValueType<Integer>
clazzType| Modifier and Type | Method and Description |
|---|---|
Integer |
cast(Object o)
Attempt to cast the passed object to the generic type T.
|
static IntType |
get() |
static IntType |
instance() |
Integer |
parse(String sourceValue)
Attempts to parse the passed String into the destinationType.
|
getDestinationType, isParsable, toStringpublic static IntType get()
public static IntType instance()
public Integer parse(String sourceValue) throws ParsingException
ValueTypeParsingException - for any type of failure.public Integer cast(Object o) throws RuntimeException
ValueTypeRuntimeExceptionCopyright © 2017. All rights reserved.