Class JavaNCSSCheck.Counter
java.lang.Object
com.puppycrawl.tools.checkstyle.checks.metrics.JavaNCSSCheck.Counter
- Enclosing class:
JavaNCSSCheck
Class representing a counter.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
count
private int countThe counters internal integer.
-
-
Constructor Details
-
Counter
private Counter()
-
-
Method Details
-
increment
public void increment()Increments the counter. -
getCount
public int getCount()Gets the counters value.- Returns:
- the counter
-