Interface Counter

    • Method Detail

      • inc

        void inc()
        Counter add 1.
      • inc

        void inc​(long n)
        Counter add n.
      • getCount

        long getCount()
        Get the value of counter.