public static final class ValueDecoderFactory.FloatArrayDecoder extends ValueDecoderFactory.BaseArrayDecoder
INITIAL_RESULT_BUFFER_SIZE, mCount, mEnd, mStart, SMALL_RESULT_BUFFER_SIZE| Constructor | Description |
|---|---|
FloatArrayDecoder(float[] result,
int start,
int maxCount,
ValueDecoderFactory.FloatDecoder floatDecoder) |
|
FloatArrayDecoder(ValueDecoderFactory.FloatDecoder floatDecoder) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
decodeValue(char[] buffer,
int start,
int end) |
|
boolean |
decodeValue(String input) |
Method called to decode single (element) value that given textual
input contains and store it in result array.
|
void |
expand() |
Method that can be called if the internal result buffer
fills up (when
ValueDecoderFactory.BaseArrayDecoder.hasRoom() returns false) and
will expand result buffer to hold at least one more value. |
float[] |
getValues() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcalcNewSize, getCount, hasRoompublic FloatArrayDecoder(float[] result,
int start,
int maxCount,
ValueDecoderFactory.FloatDecoder floatDecoder)
public FloatArrayDecoder(ValueDecoderFactory.FloatDecoder floatDecoder)
public void expand()
ValueDecoderFactory.BaseArrayDecoderValueDecoderFactory.BaseArrayDecoder.hasRoom() returns false) and
will expand result buffer to hold at least one more value.expand in class ValueDecoderFactory.BaseArrayDecoderpublic float[] getValues()
public boolean decodeValue(String input) throws IllegalArgumentException
TypedArrayDecoderdecodeValue in class TypedArrayDecoderIllegalArgumentExceptionpublic boolean decodeValue(char[] buffer,
int start,
int end)
throws IllegalArgumentException
decodeValue in class TypedArrayDecoderIllegalArgumentExceptionCopyright © 2019 fasterxml.com. All rights reserved.