Class CodePointBuffer.Builder

  • Enclosing class:
    CodePointBuffer

    public static class CodePointBuffer.Builder
    extends java.lang.Object
    • Field Detail

      • byteBuffer

        private java.nio.ByteBuffer byteBuffer
      • charBuffer

        private java.nio.CharBuffer charBuffer
      • intBuffer

        private java.nio.IntBuffer intBuffer
      • prevHighSurrogate

        private int prevHighSurrogate
    • Constructor Detail

      • Builder

        private Builder​(int initialBufferSize)
    • Method Detail

      • getByteBuffer

        java.nio.ByteBuffer getByteBuffer()
      • getCharBuffer

        java.nio.CharBuffer getCharBuffer()
      • getIntBuffer

        java.nio.IntBuffer getIntBuffer()
      • roundUpToNextPowerOfTwo

        private static int roundUpToNextPowerOfTwo​(int i)
      • ensureRemaining

        public void ensureRemaining​(int remainingNeeded)
      • append

        public void append​(java.nio.CharBuffer utf16In)
      • appendArray

        private void appendArray​(java.nio.CharBuffer utf16In)
      • appendArrayByte

        private void appendArrayByte​(java.nio.CharBuffer utf16In)
      • appendArrayChar

        private void appendArrayChar​(java.nio.CharBuffer utf16In)
      • appendArrayInt

        private void appendArrayInt​(java.nio.CharBuffer utf16In)
      • byteToCharBuffer

        private void byteToCharBuffer​(int toAppend)
      • byteToIntBuffer

        private void byteToIntBuffer​(int toAppend)
      • charToIntBuffer

        private void charToIntBuffer​(int toAppend)