Class Tally


  • public final class Tally
    extends Object
    • Constructor Detail

      • Tally

        public Tally()
    • Method Detail

      • count

        public void count​(String key)
        Parameters:
        key - to increment tally by 1
      • zero

        public void zero​(String key)
        Parameters:
        key - to initialize with zero
      • get

        public Map<String,​Object> get()
        Returns:
        current unmodifiable state of the tally