T - type it targets.public abstract class BaseTypeConverter<T> extends Object implements TypeConverter<T>
| Constructor and Description |
|---|
BaseTypeConverter() |
| Modifier and Type | Method and Description |
|---|---|
SpecifiedTypeValue<T> |
convert(Object unspecifiedValue) |
protected List<T> |
convertArray(Object[] unspecifiedValues) |
protected List<T> |
convertCollection(Collection<?> unspecifiedValues) |
protected abstract T |
convertSingleObject(Object unspecifiedValue) |
protected abstract SpecifiedTypeValue<T> |
createValue(List<T> values) |
protected abstract SpecifiedTypeValue<T> |
createValue(T value) |
public SpecifiedTypeValue<T> convert(Object unspecifiedValue)
convert in interface TypeConverter<T>protected abstract SpecifiedTypeValue<T> createValue(T value)
protected abstract SpecifiedTypeValue<T> createValue(List<T> values)
protected List<T> convertCollection(Collection<?> unspecifiedValues)
Copyright © 2019 Power Flows. All rights reserved.