Skip to content

Instantly share code, notes, and snippets.

@rz7d
Last active November 25, 2016 16:20
Show Gist options
  • Save rz7d/35ba777928432a9976559c1ae0b94bbc to your computer and use it in GitHub Desktop.
Save rz7d/35ba777928432a9976559c1ae0b94bbc to your computer and use it in GitHub Desktop.
Counter API
package com.github.stilllogic20.counter.api;
import java.lang.*;
public interface Counter {
public void countUp();
public void countDown();
public void setCount(Number count);
public void reset();
public void setToZero();
public Number getCount();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment