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

      • bufferedSize

        public int bufferedSize()
      • 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 © 2008–2018 FasterXML. All rights reserved.