public class FloatLexicoder extends AbstractLexicoder<Float>
Constructor and Description |
---|
FloatLexicoder() |
Modifier and Type | Method and Description |
---|---|
Float |
decode(byte[] b) |
protected Float |
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(Float f) |
decode
public byte[] encode(Float f)
public Float decode(byte[] b)
decode
in interface TypedValueCombiner.Encoder<Float>
decode
in class AbstractEncoder<Float>
protected Float decodeUnchecked(byte[] b, int offset, int len) throws ValueFormatException
AbstractEncoder
decodeUnchecked
in class AbstractEncoder<Float>
ValueFormatException
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.