Class DoNothingCounter

    • Constructor Detail

      • DoNothingCounter

        public DoNothingCounter()
    • Method Detail

      • inc

        public void inc()
        Description copied from interface: Counter
        Counter add 1.
        Specified by:
        inc in interface Counter
      • inc

        public void inc​(long n)
        Description copied from interface: Counter
        Counter add n.
        Specified by:
        inc in interface Counter
      • getCount

        public long getCount()
        Description copied from interface: Counter
        Get the value of counter.
        Specified by:
        getCount in interface Counter