Package tech.uom.lib.common.function
Interface Parser<I,O>
- Type Parameters:
I
- the inputO
- the output
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a function that parses an input value and produces an output.
This is a functional interface whose functional method is #parse()
.
- Since:
- 0.5
- Version:
- 2.1, 2019-01-31
- See Also:
-
MeasurementParseException
-
Method Summary
-
Method Details
-
parse
Parses the specifiedI
to produce aO
.- Throws:
javax.measure.format.ParserException
- if any problem occurs while parsing the specified input (e.g. illegal syntax).
-