- java.lang.Object
-
- net.morimekta.terminal.args.ValueParser.LongParser
-
- All Implemented Interfaces:
ValueParser<Long>
- Enclosing interface:
- ValueParser<T>
public static class ValueParser.LongParser extends Object implements ValueParser<Long>
A converter to long values.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.morimekta.terminal.args.ValueParser
ValueParser.DirParser, ValueParser.DoubleParser, ValueParser.EnumParser<E extends Enum<E>>, ValueParser.FileParser, ValueParser.IntegerParser, ValueParser.LongParser, ValueParser.OutputDirParser, ValueParser.OutputFileParser, ValueParser.PathParser, ValueParser.TypedPutter<T>
-
-
Constructor Summary
Constructors Constructor Description LongParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
parse(String s)
Parse the value into a typed instance.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.morimekta.terminal.args.ValueParser
andApply, andPut, andPutAs
-
-
-
-
Method Detail
-
parse
public Long parse(String s)
Description copied from interface:ValueParser
Parse the value into a typed instance.- Specified by:
parse
in interfaceValueParser<Long>
- Parameters:
s
- The string value.- Returns:
- The typed instance.
-
-