public class TypeParser extends Object
| Constructor and Description |
|---|
TypeParser() |
| Modifier and Type | Method and Description |
|---|---|
<T extends Serializable> |
parse(Iterable<String> inputs,
Class<T> clazz)
|
<T extends Serializable> |
parse(String input,
Class<T> clazz)
|
public <T extends Serializable> Iterable<T> parse(Iterable<String> inputs, Class<T> clazz)
T - type of classinputs - list of Stringsclazz - type to be parsed toIterable of parsed valuespublic <T extends Serializable> T parse(String input, Class<T> clazz)
T - type of classinput - String valueclazz - type to be parsed toCopyright © 2015. All Rights Reserved.