Class Counter


  • public class Counter
    extends Object
    This class counts the invocations of increase().
    • Constructor Detail

      • Counter

        public Counter()
    • Method Detail

      • increase

        public void increase()
        Increase the counter
      • get

        public int get()
        Get the counter value.
        Returns:
        counter value