Module com.github.rvesse.airline
Interface NumericTypeConverter
-
- All Known Implementing Classes:
AbbreviatedNumericTypeConverter,Binary,ComplexNumericTypeConverter,DefaultNumericConverter,Hexadecimal,KiloAs1000,KiloAs1024,MapAbbreviatedNumericTypeConverter,MultiSequenceAbbreviatedNumericTypeConverter,Octal,SequenceAbbreviatedNumericTypeConverter
public interface NumericTypeConverterInterfaces for numeric type converters
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConvertResulttryConvertNumerics(java.lang.String name, java.lang.Class<?> type, java.lang.String value)Tries to convert common numeric types
-
-
-
Method Detail
-
tryConvertNumerics
ConvertResult tryConvertNumerics(java.lang.String name, java.lang.Class<?> type, java.lang.String value)
Tries to convert common numeric types- Parameters:
name- Option/Argument nametype- Typevalue- Value- Returns:
- Conversion result
-
-