T
- type of the resulting objectpublic interface Parser<T> extends Function<CharSequence,T>
Modifier and Type | Method and Description |
---|---|
default T |
apply(CharSequence from) |
T |
parse(CharSequence from)
Parse a CharSequence into an object of type T.
|
T parse(CharSequence from)
from
- input stringdefault T apply(CharSequence from)
apply
in interface Function<CharSequence,T>
Copyright © 2016. All rights reserved.