Class IteratorDecorator<T>

java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingIterator<T>
org.aksw.commons.collections.cache.IteratorDecorator<T>
All Implemented Interfaces:
Iterator<T>
Direct Known Subclasses:
CountingIterator

public class IteratorDecorator<T> extends com.google.common.collect.ForwardingIterator<T>
  • Field Details

    • delegate

      protected Iterator<T> delegate
    • numItems

      protected long numItems
  • Constructor Details

    • IteratorDecorator

      public IteratorDecorator(Iterator<T> delegate)
  • Method Details

    • delegate

      protected Iterator<T> delegate()
      Specified by:
      delegate in class com.google.common.collect.ForwardingIterator<T>