com.fasterxml.jackson.databind.util

Class PrimitiveArrayBuilder<T>

    • Field Detail

      • _freeBuffer

        protected T _freeBuffer
      • _bufferHead

        protected com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder.Node<T> _bufferHead
      • _bufferTail

        protected com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder.Node<T> _bufferTail
      • _bufferedEntryCount

        protected int _bufferedEntryCount
        Number of total buffered entries in this buffer, counting all instances within linked list formed by following _bufferHead.
    • Constructor Detail

      • PrimitiveArrayBuilder

        protected PrimitiveArrayBuilder()
    • Method Detail

      • resetAndStart

        public T resetAndStart()
      • appendCompletedChunk

        public final T appendCompletedChunk(T fullChunk,
                             int fullChunkLength)
        Returns:
        Length of the next chunk to allocate
      • completeAndClearBuffer

        public T completeAndClearBuffer(T lastChunk,
                               int lastChunkEntries)
      • _constructArray

        protected abstract T _constructArray(int len)
      • _reset

        protected void _reset()

Copyright © 2014-2015 FasterXML. All Rights Reserved.