Class IterableUtil.ReverseIterable<T>

  • All Implemented Interfaces:
    java.lang.Iterable<T>
    Enclosing class:
    IterableUtil

    private static class IterableUtil.ReverseIterable<T>
    extends java.lang.Object
    implements java.lang.Iterable<T>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<T> list  
    • Constructor Summary

      Constructors 
      Constructor Description
      ReverseIterable​(java.util.List<T> list)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<T> iterator()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Field Detail

      • list

        private java.util.List<T> list
    • Constructor Detail

      • ReverseIterable

        public ReverseIterable​(java.util.List<T> list)
    • Method Detail

      • iterator

        public java.util.Iterator<T> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<T>