net.java.sen.trie
Interface CharIterator

All Known Subinterfaces:
SentenceIterator

public interface CharIterator

An iterator interface for chars


Method Summary
 boolean hasNext()
          Reports whether more characters are available
 char next()
          Returns the next available character
 

Method Detail

hasNext

boolean hasNext()
Reports whether more characters are available

Returns:
true if more characters are available, otherwise false

next

char next()
          throws NoSuchElementException
Returns the next available character

Returns:
The next available character
Throws:
NoSuchElementException - - if no more elements are available


Copyright © 2012. All Rights Reserved.