Package org.apache.lucene.analysis
Class CharArraySet.CharArraySetIterator
- java.lang.Object
-
- org.apache.lucene.analysis.CharArraySet.CharArraySetIterator
-
- Enclosing class:
- CharArraySet
@Deprecated public class CharArraySet.CharArraySetIterator extends Object implements Iterator<String>
Deprecated.Use the standard iterator, which returnschar[]
instances.The Iteratorfor this set. Strings are constructed on the fly, so use nextCharArray
for more efficient access.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
hasNext()
Deprecated.String
next()
Deprecated.Returns the next String, as a Setwould... char[]
nextCharArray()
Deprecated.do not modify the returned char[]void
remove()
Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
nextCharArray
public char[] nextCharArray()
Deprecated.do not modify the returned char[]
-
next
public String next()
Deprecated.Returns the next String, as a Setwould... use nextCharArray() for better efficiency.
-
-