public class IntTinyTypes extends Object implements MetaTinyType<tech.anima.tinytypes.IntTinyType>
| Constructor and Description |
|---|
IntTinyTypes() |
| Modifier and Type | Method and Description |
|---|---|
<U extends tech.anima.tinytypes.IntTinyType> |
fromString(Class<U> type,
String value)
Creates a new instance of the given TinyType class type, wrapping the
given value given in string form.
|
static boolean |
includes(Class<?> candidate) |
boolean |
isMetaOf(Class<?> candidate)
Checks whether this implementation can operate on the given TinyType
class type.
|
<U extends tech.anima.tinytypes.IntTinyType> |
newInstance(Class<U> type,
Object value)
Creates a new instance of the given TinyType class type, wrapping the
given value.
|
String |
stringify(tech.anima.tinytypes.IntTinyType value)
Returns a String representation of the value wrapped in the given
TinyType.
|
public static boolean includes(Class<?> candidate)
public boolean isMetaOf(Class<?> candidate)
MetaTinyTypeisMetaOf in interface MetaTinyType<tech.anima.tinytypes.IntTinyType>candidate - the TInyType type to check for compatibilitypublic String stringify(tech.anima.tinytypes.IntTinyType value)
MetaTinyTypestringify in interface MetaTinyType<tech.anima.tinytypes.IntTinyType>value - the TinyType to stringifypublic <U extends tech.anima.tinytypes.IntTinyType> U newInstance(Class<U> type, Object value)
MetaTinyTypenewInstance in interface MetaTinyType<tech.anima.tinytypes.IntTinyType>U - the TinyType class type to constructtype - the TinyType class type to constructvalue - the native value to wrappublic <U extends tech.anima.tinytypes.IntTinyType> U fromString(Class<U> type, String value)
MetaTinyTypefromString in interface MetaTinyType<tech.anima.tinytypes.IntTinyType>U - the TinyType class type to constructtype - the TinyType class type to constructvalue - the native value to wrapCopyright © 2015. All rights reserved.