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