java.lang.Object
org.elasticsearch.search.aggregations.bucket.IteratorAndCurrent<B>
All Implemented Interfaces:
java.util.Iterator<B>

public class IteratorAndCurrent<B extends InternalMultiBucketAggregation.InternalBucket>
extends java.lang.Object
implements java.util.Iterator<B>
  • Constructor Summary

    Constructors
    Constructor Description
    IteratorAndCurrent​(java.util.Iterator<B> iterator)  
  • Method Summary

    Modifier and Type Method Description
    B current()  
    java.util.Iterator<B> getIterator()  
    boolean hasNext()  
    B next()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.Iterator

    forEachRemaining, remove
  • Constructor Details

    • IteratorAndCurrent

      public IteratorAndCurrent​(java.util.Iterator<B> iterator)
  • Method Details