com.javanut.pronghorn.util.math.ScriptedSchedule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pronghorn-pipes Show documentation
Show all versions of pronghorn-pipes Show documentation
Ring buffer based queuing utility for applications that require high performance and/or a small
footprint. Well suited for embedded and stream based processing.
package com.javanut.pronghorn.util.math;
import com.javanut.pronghorn.util.Appendables;
public class ScriptedSchedule {
public final long commonClock;
public final int[] script;
public final int maxRun;
public ScriptedSchedule(long commonClock, int[] script, int maxRun) {
this.commonClock = commonClock;
this.script = script;
this.maxRun = maxRun;
}
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
Appendables.appendValue(builder, "Clock:", commonClock, "ns Script:");
Appendables.appendArray(builder, '[', script, ']');
return builder.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy