public class TypeConverterRegistry extends Object
| Modifier and Type | Field and Description |
|---|---|
static TypeConverterRegistry |
INSTANCE |
static Lang.TypeConverter |
ME_TO_ME |
static Lang.TypeConverter<Void,Object> |
NULL_CONVERTER |
| Constructor and Description |
|---|
TypeConverterRegistry() |
| Modifier and Type | Method and Description |
|---|---|
<FROM,TO> Lang.TypeConverter<FROM,TO> |
get(Class<FROM> fromType,
Class<TO> toType) |
TypeConverterRegistry |
register(Lang.TypeConverter typeConverter) |
int |
size() |
public static Lang.TypeConverter ME_TO_ME
public static final Lang.TypeConverter<Void,Object> NULL_CONVERTER
public static final TypeConverterRegistry INSTANCE
public <FROM,TO> Lang.TypeConverter<FROM,TO> get(Class<FROM> fromType, Class<TO> toType)
public TypeConverterRegistry register(Lang.TypeConverter typeConverter)
public int size()
Copyright © 2014–2019 OSGL (Open Source General Library). All rights reserved.