Skip to content

Instantly share code, notes, and snippets.

View jxc876's full-sized avatar
:octocat:

Michael Ramirez jxc876

:octocat:
  • Texas, United States
View GitHub Profile
@jxc876
jxc876 / Engine.java
Last active August 29, 2015 14:10 — forked from schup/Engine.java
// Engine.java
public interface Engine {
void start();
void stop();
}
public class Volatility {
static int NEXT_IN_LINE = 0;
public static void main(String[] args) throws Exception {
new CustomerInLine().start();
new Queue().start();
}
static class CustomerInLine extends Thread {