Biter

regexp
Class CharIndexedStringBuffer

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

class CharIndexedStringBuffer
extends Object
implements CharIndexed


Field Summary
private  int m_index
           
private  StringBuffer s
           
 
Fields inherited from interface regexp.CharIndexed
OUT_OF_BOUNDS
 
Constructor Summary
(package private) CharIndexedStringBuffer(StringBuffer str, int index)
           
 
Method Summary
 char charAt(int index)
           
 boolean isValid()
           
 boolean move(int index)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

s

private StringBuffer s

m_index

private int m_index
Constructor Detail

CharIndexedStringBuffer

CharIndexedStringBuffer(StringBuffer str,
                        int index)
Method Detail

charAt

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

isValid

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

move

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

Biter

From the Biter project.