Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.memoire.re
Class RECharIndexedInputStream  view RECharIndexedInputStream download RECharIndexedInputStream.java

java.lang.Object
  extended bycom.memoire.re.RECharIndexedInputStream
All Implemented Interfaces:
RECharIndexed

class RECharIndexedInputStream
extends java.lang.Object
implements RECharIndexed


Field Summary
private  java.io.BufferedInputStream br
           
private static int BUFFER_INCREMENT
           
private  char cached
           
private  int m_bufsize
           
private  int m_end
           
private  int m_index
           
static char OUT_OF_BOUNDS
           
 
Constructor Summary
(package private) RECharIndexedInputStream(java.io.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, toString, wait, wait, wait
 

Field Detail

BUFFER_INCREMENT

private static final int BUFFER_INCREMENT
See Also:
Constant Field Values

br

private java.io.BufferedInputStream br

m_index

private int m_index

m_end

private int m_end

m_bufsize

private int m_bufsize

cached

private char cached

OUT_OF_BOUNDS

public static final char OUT_OF_BOUNDS
See Also:
Constant Field Values
Constructor Detail

RECharIndexedInputStream

RECharIndexedInputStream(java.io.InputStream str,
                         int index)
Method Detail

next

private boolean next()

charAt

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

move

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

isValid

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