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()
Deprecated.
since 0.4.1. Use
instance() instead |
static FlagType |
instance() |
Boolean |
parse(String sourceValue)
Attempts to parse the passed String into the destinationType.
|
getDestinationType, isParsable, toString@Deprecated public static FlagType get()
instance() insteadFlagType()public static FlagType instance()
FlagType()public Boolean parse(String sourceValue) throws IllegalArgumentException
ValueTypeIllegalArgumentExceptionpublic Boolean cast(Object o) throws RuntimeException
ValueTypeRuntimeExceptionCopyright © 2021. All rights reserved.