Class CountingIterator.EntryWithIndex<T>

  • Enclosing class:
    CountingIterator<T>

    public static class CountingIterator.EntryWithIndex<T>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      EntryWithIndex​(T value, int index)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getIndex()  
      T getValue()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EntryWithIndex

        public EntryWithIndex​(T value,
                              int index)
    • Method Detail

      • getValue

        public T getValue()
      • getIndex

        public int getIndex()