public static class BigDecimalCombiner.BigDecimalEncoder extends AbstractLexicoder<BigDecimal>
Constructor and Description |
---|
BigDecimalEncoder() |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
decode(byte[] b) |
protected BigDecimal |
decodeUnchecked(byte[] b,
int offset,
int len)
Decodes a byte array without checking if the offset and len exceed the bounds of the actual
array.
|
byte[] |
encode(BigDecimal v) |
decode
public byte[] encode(BigDecimal v)
public BigDecimal decode(byte[] b)
decode
in interface TypedValueCombiner.Encoder<BigDecimal>
decode
in class AbstractEncoder<BigDecimal>
protected BigDecimal decodeUnchecked(byte[] b, int offset, int len) throws ValueFormatException
AbstractEncoder
decodeUnchecked
in class AbstractEncoder<BigDecimal>
ValueFormatException
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.