Class Counter


  • public class Counter
    extends Object
    A Counter used for example in Maps to count the number of times an item occurs.
    • Constructor Detail

      • Counter

        public Counter()
      • Counter

        public Counter​(int value)
    • Method Detail

      • getValue

        public int getValue()
      • increment

        public void increment()