![]() |
Code Examples
A repository of 155 code examples for BeepBeep
|
Creates complex events out of low-level events occurring to Java iterators. More...
Classes | |
class | CountIf |
Processor that accumulates the number of events where the method name (i.e. | |
class | CreateIteratorLifecycle |
Function that creates an IteratorLifecycle complex event out of four input arguments. | |
class | IteratorLifecycle |
Definition of the complex event "iterator lifecycle". | |
Static Public Member Functions | |
static void | main (String[] args) |
Creates complex events out of low-level events occurring to Java iterators.
Each basic event represents a method call done on a Java iterator. It is an array made of two elements:
The goal is to produce a high-level stream where each event summarizes the "lifecycle" of an iterator, from its instantiation to its disposal. When an iterator is destroyed, a "complex" IteratorLifecycle event should be produced, summarizing the operations done on this iterator during its lifespan: its hashcode, and the number of times some methods have been called on it.
Definition at line 61 of file IteratorDemo.java.