public class

CharArraySet.CharArraySetIterator

extends Object
implements Iterator<E>
java.lang.Object
   ↳ org.apache.lucene.analysis.CharArraySet.CharArraySetIterator

Class Overview

The Iterator for this set. Strings are constructed on the fly, so use nextCharArray for more efficient access.

Summary

Public Methods
boolean hasNext()
String next()
Returns the next String, as a Set would...
char[] nextCharArray()
do not modify the returned char[]
void remove()
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.util.Iterator

Public Methods

public boolean hasNext ()

public String next ()

Returns the next String, as a Set would... use nextCharArray() for better efficiency.

public char[] nextCharArray ()

do not modify the returned char[]

public void remove ()