Package io.ryos.rhino.sdk.converter
Class ListTypeConverter<T>
- java.lang.Object
-
- io.ryos.rhino.sdk.converter.ListTypeConverter<T>
-
- All Implemented Interfaces:
TypeConverter<java.util.List<T>>
public class ListTypeConverter<T> extends java.lang.Object implements TypeConverter<java.util.List<T>>
-
-
Constructor Summary
Constructors Constructor Description ListTypeConverter(TypeConverter<T> typeConverter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<T>
convert(java.lang.String input)
ConvertString
value to the target type.
-
-
-
Constructor Detail
-
ListTypeConverter
public ListTypeConverter(TypeConverter<T> typeConverter)
-
-
Method Detail
-
convert
public java.util.List<T> convert(java.lang.String input)
Description copied from interface:TypeConverter
ConvertString
value to the target type.- Specified by:
convert
in interfaceTypeConverter<T>
- Parameters:
input
- Input string.- Returns:
- The value of input in target type.
-
-