public class DefaultNCharQueue extends Object implements NCharQueue
| Constructor and Description |
|---|
DefaultNCharQueue() |
DefaultNCharQueue(char[] data,
int initial,
int increment) |
DefaultNCharQueue(int initial) |
DefaultNCharQueue(int initial,
int increment) |
| Modifier and Type | Method and Description |
|---|---|
int |
allocatedSize() |
boolean |
canRead() |
boolean |
canReadByCount(int count) |
char |
charAt(int index) |
IntStream |
chars() |
void |
clear() |
IntStream |
codePoints() |
NStringMatchResult |
doWithPattern(NMultiPattern pattern) |
void |
ensureAvailable(int z) |
void |
eof(boolean eof) |
int |
from() |
boolean |
hasNext() |
int |
increment() |
boolean |
isEmpty() |
boolean |
isEOF() |
int |
length() |
static NCharQueue |
of() |
static DefaultNCharQueue |
of(char[] content) |
static NCharQueue |
of(int size) |
char |
peek() |
String |
peek(int count) |
char |
peekAt(int index) |
NStringMatchResult |
peekPattern(String pattern) |
NStringMatchResult |
peekPattern(String pattern,
boolean fully) |
NStringMatchResult |
peekString(String value) |
NStringMatchResult |
peekString(String value,
boolean fully) |
char |
read() |
String |
read(int count) |
String |
readBlank() |
String |
readNewLine(boolean fully) |
void |
skip(int count) |
NMatchType |
skipValue(String value) |
CharSequence |
subSequence(int start,
int end) |
int |
to() |
String |
toString() |
void |
write(char c) |
void |
write(char[] c) |
void |
write(char[] c,
int offset,
int len) |
void |
write(CharBuffer c) |
void |
write(CharSequence c) |
int |
write(Reader reader,
int max) |
void |
write(String c) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitofpublic DefaultNCharQueue()
public DefaultNCharQueue(int initial)
public DefaultNCharQueue(int initial,
int increment)
public DefaultNCharQueue(char[] data,
int initial,
int increment)
public static NCharQueue of()
of in interface NCharQueuepublic static NCharQueue of(int size)
of in interface NCharQueuepublic static DefaultNCharQueue of(char[] content)
of in interface NCharQueuepublic int write(Reader reader, int max)
write in interface NCharQueuepublic void write(String c)
write in interface NCharQueuepublic void write(CharSequence c)
write in interface NCharQueuepublic void write(CharBuffer c)
write in interface NCharQueuepublic void write(char[] c)
write in interface NCharQueuepublic void write(char[] c,
int offset,
int len)
write in interface NCharQueuepublic void write(char c)
write in interface NCharQueuepublic boolean isEmpty()
public int length()
length in interface CharSequencepublic char peek()
peek in interface NCharQueuepublic char peekAt(int index)
peekAt in interface NCharQueuepublic String peek(int count)
peek in interface NCharQueuepublic boolean canRead()
canRead in interface NCharQueuepublic boolean canReadByCount(int count)
canReadByCount in interface NCharQueuepublic String read(int count)
read in interface NCharQueuepublic void skip(int count)
skip in interface NCharQueuepublic NMatchType skipValue(String value)
skipValue in interface NCharQueuepublic NStringMatchResult peekPattern(String pattern)
peekPattern in interface NCharQueuepublic void clear()
clear in interface NCharQueuepublic NStringMatchResult doWithPattern(NMultiPattern pattern)
doWithPattern in interface NCharQueuepublic NStringMatchResult peekPattern(String pattern, boolean fully)
peekPattern in interface NCharQueuepublic NStringMatchResult peekString(String value)
peekString in interface NCharQueuepublic NStringMatchResult peekString(String value, boolean fully)
peekString in interface NCharQueuepublic String readBlank()
readBlank in interface NCharQueuepublic String readNewLine(boolean fully)
readNewLine in interface NCharQueuepublic char read()
read in interface NCharQueuepublic void ensureAvailable(int z)
ensureAvailable in interface NCharQueuepublic String toString()
toString in interface CharSequencetoString in class Objectpublic char charAt(int index)
charAt in interface CharSequencepublic CharSequence subSequence(int start, int end)
subSequence in interface CharSequencepublic IntStream chars()
chars in interface CharSequencepublic IntStream codePoints()
codePoints in interface CharSequencepublic boolean hasNext()
hasNext in interface NCharQueuepublic boolean isEOF()
isEOF in interface NCharQueuepublic void eof(boolean eof)
eof in interface NCharQueuepublic int increment()
increment in interface NCharQueuepublic int from()
from in interface NCharQueuepublic int to()
to in interface NCharQueuepublic int allocatedSize()
allocatedSize in interface NCharQueueCopyright © 2026 vpc open source initiative. All rights reserved.