import java.util.Arrays;
import java.util.function.Consumer;
import java.util.function.DoubleConsumer;
import java.util.function.IntConsumer;
import java.util.function.LongConsumer;
/**
* Defined in the debuggee by the bundle (no package, Java 8 bytecode, nothing but the JDK) and passed
* to {@code peek} of each traced step. One instance is the log; each step gets an instance that
* appends {@code (step, value)} to it. A record's index in the log is its time.
*
*
The bundle reads and writes the public fields by name through JDI and calls the two
* constructors by signature; renaming any of them breaks the trace.
*/
public final class OiRecorder implements Consumer