Class BooleanCollections.IterableCollection

    • Method Detail

      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<java.lang.Boolean>
        Specified by:
        size in class java.util.AbstractCollection<java.lang.Boolean>
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface java.util.Collection<java.lang.Boolean>
        Overrides:
        isEmpty in class java.util.AbstractCollection<java.lang.Boolean>
      • iterator

        public BooleanIterator iterator()
        Description copied from interface: BooleanCollection
        Returns a type-specific iterator on the elements of this collection.
        Specified by:
        iterator in interface BooleanCollection
        Specified by:
        iterator in interface BooleanIterable
        Specified by:
        iterator in interface java.util.Collection<java.lang.Boolean>
        Specified by:
        iterator in interface java.lang.Iterable<java.lang.Boolean>
        Specified by:
        iterator in class AbstractBooleanCollection
        Returns:
        a type-specific iterator on the elements of this collection.
        See Also:
        Iterable.iterator()
      • spliterator

        public BooleanSpliterator spliterator()
        Description copied from interface: BooleanCollection
        Returns a type-specific spliterator on the elements of this collection.

        See Collection.spliterator() for more documentation on the requirements of the returned spliterator.

        Specified by:
        spliterator in interface BooleanCollection
        Specified by:
        spliterator in interface BooleanIterable
        Specified by:
        spliterator in interface java.util.Collection<java.lang.Boolean>
        Specified by:
        spliterator in interface java.lang.Iterable<java.lang.Boolean>
        Returns:
        a type-specific spliterator on the elements of this collection.