Exemple #1
0
        public bool equals(object other)
        {
            Counter otherCounter = (Counter)other;

            return(otherCounter.getCount() == this.getCount());
        }
Exemple #2
0
 public CounterTest(String id, Counter counter)
 {
     this.id      = id;
     this.counter = counter;
 }