ByteBuffer / CharBuffer / IntBuffer.
Because Java lacks generics on primitive types, these three types
do not share an interface, so we have to write one manually.
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final ByteBuffer | |
| private final CharBuffer | |
| private final IntBuffer | |
| private final CodePointBuffer. |
| Access | Constructor and Description |
|---|---|
| private | CodePointBuffer(CodePointBuffer.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | |
| public static CodePointBuffer. | |
| pack-priv byte[] | |
| pack-priv char[] | |
| public int | |
| pack-priv CodePointBuffer. | |
| pack-priv int[] | |
| public int | |
| public void | |
| public int | |
| public static CodePointBuffer | |
| public static CodePointBuffer | |
| public static CodePointBuffer |
| byteBuffer | back to summary |
|---|---|
| private final ByteBuffer byteBuffer | |
| charBuffer | back to summary |
|---|---|
| private final CharBuffer charBuffer | |
| intBuffer | back to summary |
|---|---|
| private final IntBuffer intBuffer | |
| type | back to summary |
|---|---|
| private final CodePointBuffer. | |
| CodePointBuffer | back to summary |
|---|---|
| private CodePointBuffer(CodePointBuffer. | |
| arrayOffset | back to summary |
|---|---|
| pack-priv int arrayOffset() | |
| builder | back to summary |
|---|---|
| public static CodePointBuffer. | |
| byteArray | back to summary |
|---|---|
| pack-priv byte[] byteArray() | |
| charArray | back to summary |
|---|---|
| pack-priv char[] charArray() | |
| get | back to summary |
|---|---|
| public int get(int offset) | |
| getType | back to summary |
|---|---|
| pack-priv CodePointBuffer. | |
| intArray | back to summary |
|---|---|
| pack-priv int[] intArray() | |
| position | back to summary |
|---|---|
| public int position() | |
| position | back to summary |
|---|---|
| public void position(int newPosition) | |
| remaining | back to summary |
|---|---|
| public int remaining() | |
| withBytes | back to summary |
|---|---|
| public static CodePointBuffer withBytes(ByteBuffer byteBuffer) | |
| withChars | back to summary |
|---|---|
| public static CodePointBuffer withChars(CharBuffer charBuffer) | |
| withInts | back to summary |
|---|---|
| public static CodePointBuffer withInts(IntBuffer intBuffer) | |
| Modifier and Type | Field and Description |
|---|---|
| private ByteBuffer | |
| private CharBuffer | |
| private IntBuffer | |
| private int | |
| private CodePointBuffer. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public CodePointBuffer | |
| private void | |
| private void | |
| private void | |
| public void | |
| pack-priv ByteBuffer | |
| pack-priv CharBuffer | |
| pack-priv IntBuffer | |
| pack-priv CodePointBuffer. | |
| private static int |
| byteBuffer | back to summary |
|---|---|
| private ByteBuffer byteBuffer | |
| charBuffer | back to summary |
|---|---|
| private CharBuffer charBuffer | |
| intBuffer | back to summary |
|---|---|
| private IntBuffer intBuffer | |
| prevHighSurrogate | back to summary |
|---|---|
| private int prevHighSurrogate | |
| type | back to summary |
|---|---|
| private CodePointBuffer. | |
| Builder | back to summary |
|---|---|
| private Builder(int initialBufferSize) | |
| append | back to summary |
|---|---|
| public void append(CharBuffer utf16In) | |
| appendArray | back to summary |
|---|---|
| private void appendArray(CharBuffer utf16In) | |
| appendArrayByte | back to summary |
|---|---|
| private void appendArrayByte(CharBuffer utf16In) | |
| appendArrayChar | back to summary |
|---|---|
| private void appendArrayChar(CharBuffer utf16In) | |
| appendArrayInt | back to summary |
|---|---|
| private void appendArrayInt(CharBuffer utf16In) | |
| build | back to summary |
|---|---|
| public CodePointBuffer build() | |
| byteToCharBuffer | back to summary |
|---|---|
| private void byteToCharBuffer(int toAppend) | |
| byteToIntBuffer | back to summary |
|---|---|
| private void byteToIntBuffer(int toAppend) | |
| charToIntBuffer | back to summary |
|---|---|
| private void charToIntBuffer(int toAppend) | |
| ensureRemaining | back to summary |
|---|---|
| public void ensureRemaining(int remainingNeeded) | |
| getByteBuffer | back to summary |
|---|---|
| pack-priv ByteBuffer getByteBuffer() | |
| getCharBuffer | back to summary |
|---|---|
| pack-priv CharBuffer getCharBuffer() | |
| getIntBuffer | back to summary |
|---|---|
| pack-priv IntBuffer getIntBuffer() | |
| getType | back to summary |
|---|---|
| pack-priv CodePointBuffer. | |
| roundUpToNextPowerOfTwo | back to summary |
|---|---|
| private static int roundUpToNextPowerOfTwo(int i) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final CodePointBuffer. | |
| public static final CodePointBuffer. | |
| public static final CodePointBuffer. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static CodePointBuffer. | |
| public static CodePointBuffer. |
| BYTE | back to summary |
|---|---|
| public static final CodePointBuffer. | |
| CHAR | back to summary |
|---|---|
| public static final CodePointBuffer. | |
| INT | back to summary |
|---|---|
| public static final CodePointBuffer. | |
| Type | back to summary |
|---|---|
| private Type() | |
| valueOf | back to summary |
|---|---|
| public static CodePointBuffer. | |
| values | back to summary |
|---|---|
| public static CodePointBuffer. | |