TPTP 4.4.0 Testing Tools Project
Internal API Specification

org.eclipse.hyades.test.tools.core.internal.common.codegen
Class Helper.StringIterator

java.lang.Object
  extended byorg.eclipse.hyades.test.tools.core.internal.common.codegen.Helper.StringIterator
Enclosing class:
Helper

public static class Helper.StringIterator
extends java.lang.Object

String iterator that iterates character by character through a string. It has the ability to group a certain class of characters, replacing a sequence of one or more of such characters by a single space.


Constructor Summary
Helper.StringIterator(java.lang.CharSequence string, java.lang.String spaceCharacters)
           
 
Method Summary
 char getNextCharacter()
           
 boolean hasNextCharacter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Helper.StringIterator

public Helper.StringIterator(java.lang.CharSequence string,
                             java.lang.String spaceCharacters)
Method Detail

hasNextCharacter

public boolean hasNextCharacter()

getNextCharacter

public char getNextCharacter()

TPTP 4.4.0 Testing Tools Project
Internal API Specification