org.gridkit.jvmtool.event.EventReader Maven / Gradle / Ivy
package org.gridkit.jvmtool.event;
import java.util.Iterator;
/**
* This interface is used to iterate though event sequence.
*
* @author Alexey Ragozin ([email protected])
*/
public interface EventReader extends Iterable, Iterator {
public EventReader morph(EventMorpher morpher);
/**
* Return next element without advancing iterator.
*/
public T peekNext();
public void dispose();
}