public static class WrappedDataWatcher.Serializer extends AbstractWrapper
Optional.handle, handleType| Constructor and Description |
|---|
Serializer(Class<?> type,
Object handle,
boolean optional)
Constructs a new Serializer
|
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getType()
Gets the type this serializer serializes.
|
boolean |
isOptional()
Whether or not this serializer is optional, that is whether or not
the return type is wrapped in a
Optional. |
String |
toString() |
equals, getHandle, getHandleType, hashCode, setHandlepublic Class<?> getType()
public boolean isOptional()
Optional.public String toString()
toString in class AbstractWrapperCopyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.