Biter

regexp
Class CharIndexedInputStream

java.lang.Object
  |
  +--regexp.CharIndexedInputStream

class CharIndexedInputStream
extends Object
implements CharIndexed


Field Summary
private  BufferedInputStream br
           
private static int BUFFER_INCREMENT
           
private  char cached
           
private  int m_bufsize
           
private  int m_end
           
private  int m_index
           
 
Fields inherited from interface regexp.CharIndexed
OUT_OF_BOUNDS
 
Constructor Summary
(package private) CharIndexedInputStream(InputStream str, int index)
           
 
Method Summary
 char charAt(int index)
           
 boolean isValid()
           
 boolean move(int index)
           
private  boolean next()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

BUFFER_INCREMENT

private static final int BUFFER_INCREMENT

br

private BufferedInputStream br

m_index

private int m_index

m_end

private int m_end

m_bufsize

private int m_bufsize

cached

private char cached
Constructor Detail

CharIndexedInputStream

CharIndexedInputStream(InputStream str,
                       int index)
Method Detail

next

private boolean next()

charAt

public char charAt(int index)
Specified by:
charAt in interface CharIndexed

move

public boolean move(int index)
Specified by:
move in interface CharIndexed

isValid

public boolean isValid()
Specified by:
isValid in interface CharIndexed

Biter

From the Biter project.