Class JavaNCSSCheck.Counter
- java.lang.Object
-
- com.puppycrawl.tools.checkstyle.checks.metrics.JavaNCSSCheck.Counter
-
- Enclosing class:
- JavaNCSSCheck
private static final class JavaNCSSCheck.Counter extends Object
Class representing a counter.
-
-
Field Summary
Fields Modifier and Type Field Description private int
count
The counters internal integer.
-
Constructor Summary
Constructors Modifier Constructor Description private
Counter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCount()
Gets the counters value.void
increment()
Increments the counter.
-