Class MessageCounter.Counter

java.lang.Object
eu.bandm.tools.message.MessageCounter.Counter
Enclosing class:
MessageCounter

protected class MessageCounter.Counter extends Object
Internal auxiliary class which counts the messages of one particular kind.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) int
    Count of messages of a particular kind.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Only constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) void
    inc()
    Increment the counter.
    (package private) void
    Reset the counter to zero.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • i

      int i
      Count of messages of a particular kind.
  • Constructor Details

    • Counter

      public Counter()
      Only constructor
  • Method Details

    • reset

      void reset()
      Reset the counter to zero.
    • inc

      void inc()
      Increment the counter.