public bool equals(object other) { Counter otherCounter = (Counter)other; return(otherCounter.getCount() == this.getCount()); }
public CounterTest(String id, Counter counter) { this.id = id; this.counter = counter; }