Class CodePointBuffer.Builder

java.lang.Object
org.antlr.v4.runtime.CodePointBuffer.Builder
Enclosing class:
CodePointBuffer

public static class CodePointBuffer.Builder extends Object
  • Field Details

  • Constructor Details

    • Builder

      private Builder(int initialBufferSize)
  • Method Details

    • getType

    • getByteBuffer

      ByteBuffer getByteBuffer()
    • getCharBuffer

      CharBuffer getCharBuffer()
    • getIntBuffer

      IntBuffer getIntBuffer()
    • build

      public CodePointBuffer build()
    • roundUpToNextPowerOfTwo

      private static int roundUpToNextPowerOfTwo(int i)
    • ensureRemaining

      public void ensureRemaining(int remainingNeeded)
    • append

      public void append(CharBuffer utf16In)
    • appendArray

      private void appendArray(CharBuffer utf16In)
    • appendArrayByte

      private void appendArrayByte(CharBuffer utf16In)
    • appendArrayChar

      private void appendArrayChar(CharBuffer utf16In)
    • appendArrayInt

      private void appendArrayInt(CharBuffer utf16In)
    • byteToCharBuffer

      private void byteToCharBuffer(int toAppend)
    • byteToIntBuffer

      private void byteToIntBuffer(int toAppend)
    • charToIntBuffer

      private void charToIntBuffer(int toAppend)