public class LngType extends BaseValueType<Long>
clazzType| Modifier and Type | Method and Description |
|---|---|
Long |
cast(Object o)
Attempt to cast the passed object to the generic type T.
|
static LngType |
get()
Deprecated.
since 0.4.1. Use
instance() instead |
static LngType |
instance() |
Long |
parse(String sourceValue)
Attempts to parse the passed String into the destinationType.
|
getDestinationType, isParsable, toString@Deprecated public static LngType get()
instance() insteadLngType()public Long parse(String sourceValue) throws ParsingException
ValueTypeParsingException - for any type of failure.public Long cast(Object o) throws RuntimeException
ValueTypeRuntimeExceptionCopyright © 2021. All rights reserved.