Java.target.apidocs.org.antlr.v4.runtime.CodePointBuffer.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of antlr4-perf-testsuite Show documentation
Show all versions of antlr4-perf-testsuite Show documentation
The ANTLR 4 grammar compiler.
CodePointBuffer (ANTLR 4 Runtime (Optimized) 4.7.3 API)
org.antlr.v4.runtime
Class CodePointBuffer
- java.lang.Object
-
- org.antlr.v4.runtime.CodePointBuffer
-
public class CodePointBuffer
extends Object
Wrapper for 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.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
static class
CodePointBuffer.Builder
static class
CodePointBuffer.Type
-
Method Summary
Methods
Modifier and Type
Method and Description
static CodePointBuffer.Builder
builder(int initialBufferSize)
int
get(int offset)
int
position()
void
position(int newPosition)
int
remaining()
static CodePointBuffer
withBytes(ByteBuffer byteBuffer)
static CodePointBuffer
withChars(CharBuffer charBuffer)
static CodePointBuffer
withInts(IntBuffer intBuffer)
-
-
Method Detail
-
withBytes
public static CodePointBuffer withBytes(ByteBuffer byteBuffer)
-
withChars
public static CodePointBuffer withChars(CharBuffer charBuffer)
-
withInts
public static CodePointBuffer withInts(IntBuffer intBuffer)
-
position
public int position()
-
position
public void position(int newPosition)
-
remaining
public int remaining()
-
get
public int get(int offset)
-
builder
public static CodePointBuffer.Builder builder(int initialBufferSize)
Copyright © 1992–2019 Tunnel Vision Laboratories, LLC. All rights reserved.