io.leopard.commons.utility.Speed Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of leopard-lang Show documentation
Show all versions of leopard-lang Show documentation
异常类、Util类、Leopard自定义的数据类型等
package io.leopard.commons.utility;
public abstract class Speed {
public Speed(int size) {
this(size, "speed");
}
public Speed(int size, String name) {
Clock clock = Clock.start();
for (int i = 0; i < size; i++) {
this.run();
}
clock.avg(size, name);
}
public abstract void run();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy