Class BooleanIterators.UnmodifiableIterator

  • All Implemented Interfaces:
    BooleanIterator, java.util.Iterator<java.lang.Boolean>
    Enclosing class:
    BooleanIterators

    public static class BooleanIterators.UnmodifiableIterator
    extends java.lang.Object
    implements BooleanIterator
    An unmodifiable wrapper class for iterators.
    • Constructor Detail

    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<java.lang.Boolean>
      • nextBoolean

        public boolean nextBoolean()
        Description copied from interface: BooleanIterator
        Returns the next element as a primitive type.
        Specified by:
        nextBoolean in interface BooleanIterator
        Returns:
        the next element in the iteration.
        See Also:
        Iterator.next()