public abstract class AbbreviatedNumericTypeConverter extends ComplexNumericTypeConverter
Constructor and Description |
---|
AbbreviatedNumericTypeConverter() |
Modifier and Type | Method and Description |
---|---|
protected long |
getMultiplier(NumericCandidate candidate) |
protected abstract long |
getMultiplier(String suffix) |
protected abstract Collection<String> |
getPermittedPrefixes() |
protected abstract Collection<String> |
getPermittedSuffixes() |
protected int |
getRadix(NumericCandidate candidate) |
protected abstract int |
getRadix(String prefix) |
protected NumericCandidate |
parse(String value) |
getDouble, getFloat, getLong, tryConvertByte, tryConvertDouble, tryConvertFloat, tryConvertInteger, tryConvertLong, tryConvertShort
getTypeConverter, getTypeConverter, tryConvertNumerics
protected abstract Collection<String> getPermittedPrefixes()
protected abstract Collection<String> getPermittedSuffixes()
protected NumericCandidate parse(String value)
parse
in class ComplexNumericTypeConverter
protected long getMultiplier(NumericCandidate candidate)
getMultiplier
in class ComplexNumericTypeConverter
protected int getRadix(NumericCandidate candidate)
getRadix
in class ComplexNumericTypeConverter
protected abstract long getMultiplier(String suffix)
protected abstract int getRadix(String prefix)
Copyright © 2012–2017. All rights reserved.