Class ArrayMaxEventIterator

java.lang.Object
com.espertech.esper.common.internal.collection.ArrayMaxEventIterator
All Implemented Interfaces:
Iterator<EventBean>

public class ArrayMaxEventIterator extends Object implements Iterator<EventBean>
Iterator for iterating over an array of events up to a given max number of events.
  • Constructor Details

    • ArrayMaxEventIterator

      public ArrayMaxEventIterator(EventBean[] events, int maxNumEvents)
      Ctor.
      Parameters:
      events - to iterate
      maxNumEvents - max to iterate
  • Method Details