Class LabelledCounter

    • Constructor Detail

      • LabelledCounter

        protected LabelledCounter()
      • LabelledCounter

        public LabelledCounter​(String label,
                               short initialCount)
    • Method Detail

      • hasLabel

        public boolean hasLabel​(String label)
      • count

        public int count()
      • increment

        public void increment()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object