Class Counter

java.lang.Object
com.oracle.truffle.regex.tregex.parser.Counter
Direct Known Subclasses:
Counter.ThreadSafeCounter, Counter.ThresholdCounter

public class Counter extends Object
  • Field Details

    • count

      protected int count
  • Constructor Details

    • Counter

      public Counter()
  • Method Details

    • getCount

      public int getCount()
    • reset

      public void reset()
    • inc

      public int inc()
    • inc

      public int inc(int i)
    • dec

      public int dec()
    • dec

      public int dec(int i)