com.ibm.wbi.util
Class FastTokenizer

java.lang.Object
  |
  +--com.ibm.wbi.util.FastTokenizer
All Implemented Interfaces:
java.lang.Cloneable

public class FastTokenizer
extends java.lang.Object
implements java.lang.Cloneable


Field Summary
protected  int d
           
protected  int i
           
protected  int j
           
protected  int len
           
protected  java.lang.String s
           
 
Constructor Summary
FastTokenizer(java.lang.String s, int d)
           
 
Method Summary
 java.lang.Object clone()
           
static void main(java.lang.String[] argv)
           
 java.lang.String nextRealToken()
           
 java.lang.String nextToken()
           
 void update(java.lang.String s)
           
 void update(java.lang.String s, int d)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

s

protected java.lang.String s

len

protected int len

d

protected int d

i

protected int i

j

protected int j
Constructor Detail

FastTokenizer

public FastTokenizer(java.lang.String s,
                     int d)
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

nextToken

public java.lang.String nextToken()

nextRealToken

public java.lang.String nextRealToken()

update

public void update(java.lang.String s)

update

public void update(java.lang.String s,
                   int d)

main

public static void main(java.lang.String[] argv)