Package
Class
Use
Tree
Deprecated
Index
All Classes
Help
Prev Class
Next Class
VCollections – Release 1
Interface org.violetlib.collections.IIterable
Inherited members: ShowHide
Deprecated: ShowHide
org.violetlib.collections

Interface IIterable<T>

  • All Superinterfaces:
    Iterable<T>
    All Known Subinterfaces:
    ICollection<V>, IList<V>, IMap<K,V>, ISet<V>
    @FunctionalInterface public interface IIterable<T> extends Iterable<T>
    A specialization of the Iterable interface to return iterators declared to return only non-null values.
    • Static Methods 
      Modifier and Type Static Method and Description
      Ordinary member indicator from Reveal DetailHide Detail
      static <T> IIterable<T> from(Iterable<T> it)
      Create an IIterable from an Iterable.
      static <T> IIterable<T> from(Iterable<T> it)
      Create an IIterable from an Iterable. The iterators produced by the returned IIterable will throw a runtime exception if an iterator produced by the Iterable returns a null value.
      Parameters:
      it - The source iterable.
    • Methods 
      Modifier and Type Method and Description
      Inherited member indicator forEach Reveal DetailHide Detail
      void forEach(Consumer<? super T> arg0)
       
      void forEach(Consumer<? super T> arg0)
      Ordinary member indicator iterator Reveal DetailHide Detail
      abstract IIterator<T> iterator()
      Returns an iterator over non-null elements of type T.
      IIterator<T> iterator()
      Returns an iterator over non-null elements of type T.
      Specified by:
      iterator in interface Iterable<T>
      Returns:
      an Iterator.
      Inherited member indicator spliterator Reveal DetailHide Detail
      Spliterator<T> spliterator()
       
      Spliterator<T> spliterator()