Class IntCounter

java.lang.Object
net.anwiba.commons.lang.counter.IntCounter
All Implemented Interfaces:
IIntCounter

public class IntCounter extends Object implements IIntCounter
  • Constructor Details

    • IntCounter

      public IntCounter(int value)
    • IntCounter

      public IntCounter(int startValue, int maxValue)
  • Method Details

    • reset

      public void reset()
      Specified by:
      reset in interface IIntCounter
    • value

      public int value()
      Specified by:
      value in interface IIntCounter
    • next

      public int next()
      Specified by:
      next in interface IIntCounter
    • increment

      public void increment()
      Specified by:
      increment in interface IIntCounter
    • decrement

      public void decrement()
      Specified by:
      decrement in interface IIntCounter
    • previous

      public int previous()
      Specified by:
      previous in interface IIntCounter
    • minimum

      public long minimum()
    • maximum

      public long maximum()