gnu.regexp

Class CharIndexedStringBuffer

Implemented Interfaces:
CharIndexed, Serializable

(package private) class CharIndexedStringBuffer
extends java.lang.Object
implements CharIndexed, Serializable

Fields inherited from interface gnu.regexp.CharIndexed

OUT_OF_BOUNDS

Constructor Summary

CharIndexedStringBuffer(StringBuffer str, int index)

Method Summary

char
charAt(int index)
boolean
isValid()
boolean
move(int index)

Constructor Details

CharIndexedStringBuffer

(package private)  CharIndexedStringBuffer(StringBuffer str,
                                           int index)

Method Details

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