public class VoidConverter extends Object implements ArgumentConverter<Void,Void>
| Modifier and Type | Field and Description |
|---|---|
static VoidConverter |
INSTANCE |
| Constructor and Description |
|---|
VoidConverter() |
| Modifier and Type | Method and Description |
|---|---|
Void |
convert(Void from)
Converts using a newly created instance
|
void |
convert(Void from,
Void to)
Converts using an existing instance
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInstanceForpublic static VoidConverter INSTANCE
public Void convert(Void from) throws AdapterException
ArgumentConverterconvert in interface ArgumentConverter<Void,Void>from - instance from which to convertAdapterException - wraps throwables generated during conversionpublic void convert(Void from, Void to) throws AdapterException
ArgumentConverterconvert in interface ArgumentConverter<Void,Void>from - instance from which to convertto - existing instance of the target typeAdapterException - wraps throwables generated during conversionCopyright © 2020 shadow-invoke. All rights reserved.