Class CharArraySet.CharArraySetIterator

  • All Implemented Interfaces:
    Iterator<String>
    Enclosing class:
    CharArraySet

    @Deprecated
    public class CharArraySet.CharArraySetIterator
    extends Object
    implements Iterator<String>
    Deprecated.
    Use the standard iterator, which returns char[] instances.
    The Iterator for this set. Strings are constructed on the fly, so use nextCharArray for more efficient access.
    • Method Detail

      • nextCharArray

        public char[] nextCharArray()
        Deprecated.
        do not modify the returned char[]
      • next

        public String next()
        Deprecated.
        Returns the next String, as a Set would... use nextCharArray() for better efficiency.
        Specified by:
        next in interface Iterator<String>