public final class RollingCharBuffer extends Object
freeBefore(int)
.Constructor and Description |
---|
RollingCharBuffer() |
Modifier and Type | Method and Description |
---|---|
void |
freeBefore(int pos)
Call this to notify us that no chars before this
absolute position are needed anymore.
|
int |
get(int pos) |
char[] |
get(int posStart,
int length) |
void |
reset(Reader reader)
Clear array and switch to new reader.
|
public void reset(Reader reader)
public int get(int pos) throws IOException
IOException
public char[] get(int posStart, int length)
public void freeBefore(int pos)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.