All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fit.decorator.util.DefaultTimer Maven / Gradle / Ivy

There is a newer version: 20181217
Show newest version
package fit.decorator.util;

public class DefaultTimer implements Timer {
  private long startTime;

  @Override
  public long elapsed() {
    return (System.currentTimeMillis() - startTime);
  }

  @Override
  public void start() {
    startTime = System.currentTimeMillis();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy