T - the TinyType class type which this Meta is for.public interface MetaTinyType<T>
| Modifier and Type | Method and Description |
|---|---|
<U extends T> |
fromString(Class<U> type,
String value)
Creates a new instance of the given TinyType class type, wrapping the
given value given in string form.
|
boolean |
isMetaOf(Class<?> candidate)
Checks whether this implementation can operate on the given TinyType
class type.
|
<U extends T> |
newInstance(Class<U> type,
Object value)
Creates a new instance of the given TinyType class type, wrapping the
given value.
|
String |
stringify(T value)
Returns a String representation of the value wrapped in the given
TinyType.
|
boolean isMetaOf(Class<?> candidate)
candidate - the TInyType type to check for compatibilityString stringify(T value)
value - the TinyType to stringify<U extends T> U newInstance(Class<U> type, Object value)
U - the TinyType class type to constructtype - the TinyType class type to constructvalue - the native value to wrap<U extends T> U fromString(Class<U> type, String value)
U - the TinyType class type to constructtype - the TinyType class type to constructvalue - the native value to wrapCopyright © 2015. All rights reserved.