Module com.github.rvesse.airline
Class MapAbbreviatedNumericTypeConverter
java.lang.Object
com.github.rvesse.airline.types.numerics.DefaultNumericConverter
com.github.rvesse.airline.types.numerics.ComplexNumericTypeConverter
com.github.rvesse.airline.types.numerics.abbreviated.AbbreviatedNumericTypeConverter
com.github.rvesse.airline.types.numerics.abbreviated.MapAbbreviatedNumericTypeConverter
- All Implemented Interfaces:
NumericTypeConverter,TypeConverterProvider
- Direct Known Subclasses:
MultiSequenceAbbreviatedNumericTypeConverter,SequenceAbbreviatedNumericTypeConverter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected longgetMultiplier(String suffix) protected Collection<String> protected Collection<String> protected intprotected booleanMethods inherited from class com.github.rvesse.airline.types.numerics.abbreviated.AbbreviatedNumericTypeConverter
getMultiplier, getRadix, parseMethods inherited from class com.github.rvesse.airline.types.numerics.ComplexNumericTypeConverter
getBigDecimal, getBigInteger, getDouble, getFloat, getLong, tryConvertBigDecimal, tryConvertBigInteger, tryConvertByte, tryConvertDouble, tryConvertFloat, tryConvertInteger, tryConvertLong, tryConvertShortMethods inherited from class com.github.rvesse.airline.types.numerics.DefaultNumericConverter
getTypeConverter, getTypeConverter, tryConvertNumerics
-
Field Details
-
caseSensitive
private final boolean caseSensitive -
prefixes
-
suffixes
-
-
Constructor Details
-
MapAbbreviatedNumericTypeConverter
-
-
Method Details
-
isCaseSensitive
protected boolean isCaseSensitive()- Specified by:
isCaseSensitivein classAbbreviatedNumericTypeConverter
-
getPermittedPrefixes
- Specified by:
getPermittedPrefixesin classAbbreviatedNumericTypeConverter
-
getPermittedSuffixes
- Specified by:
getPermittedSuffixesin classAbbreviatedNumericTypeConverter
-
getMultiplier
- Specified by:
getMultiplierin classAbbreviatedNumericTypeConverter
-
getRadix
- Specified by:
getRadixin classAbbreviatedNumericTypeConverter
-