Class IteratorAndCurrent<B extends InternalMultiBucketAggregation.InternalBucket>
java.lang.Object
org.elasticsearch.search.aggregations.bucket.IteratorAndCurrent<B>
- All Implemented Interfaces:
Iterator<B>
public class IteratorAndCurrent<B extends InternalMultiBucketAggregation.InternalBucket>
extends Object
implements Iterator<B>
-
Constructor Details
-
IteratorAndCurrent
-
-
Method Details
-
getIterator
-
current
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<B extends InternalMultiBucketAggregation.InternalBucket>
-
next
- Specified by:
next
in interfaceIterator<B extends InternalMultiBucketAggregation.InternalBucket>
-