Class PrimitiveArrayBuilder<T>

    • 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()