antlr
Class ANTLRStringBuffer

java.lang.Object
  |
  +--antlr.ANTLRStringBuffer

public class ANTLRStringBuffer
extends Object


Field Summary
protected  char[] buffer
           
protected  int length
           
 
Constructor Summary
ANTLRStringBuffer()
           
ANTLRStringBuffer(int n)
           
 
Method Summary
 void append(char c)
           
 void append(String s)
           
 char charAt(int index)
           
 char[] getBuffer()
           
 int length()
           
 void setCharAt(int index, char ch)
           
 void setLength(int newLength)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

buffer

protected char[] buffer

length

protected int length
Constructor Detail

ANTLRStringBuffer

public ANTLRStringBuffer()

ANTLRStringBuffer

public ANTLRStringBuffer(int n)
Method Detail

append

public final void append(char c)

append

public final void append(String s)

charAt

public final char charAt(int index)

getBuffer

public final char[] getBuffer()

length

public final int length()

setCharAt

public final void setCharAt(int index,
                            char ch)

setLength

public final void setLength(int newLength)

toString

public final String toString()
Overrides:
toString in class Object


Copyright 1999-2003 Oliver Zeigermann. All Rights Reserved.