org.crsh.cmdline.matcher.tokenizer
Class Tokenizer
java.lang.Object
org.crsh.cmdline.matcher.tokenizer.Tokenizer
- All Implemented Interfaces:
- Iterator<Token>
public class Tokenizer
- extends Object
- implements Iterator<Token>
- Author:
- Julien Viet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Tokenizer
public Tokenizer(CharSequence s)
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<Token>
next
public Token next()
- Specified by:
next in interface Iterator<Token>
remove
public void remove()
- Specified by:
remove in interface Iterator<Token>
getIndex
public int getIndex()
pushBack
public void pushBack()
pushBack
public void pushBack(int count)
peek
public Token peek()
getTermination
public Termination getTermination()
Copyright © 2011 eXo Platform SAS. All Rights Reserved.