Class NPathComplexityCheck.Values
- java.lang.Object
-
- com.puppycrawl.tools.checkstyle.checks.metrics.NPathComplexityCheck.Values
-
- Enclosing class:
- NPathComplexityCheck
private static final class NPathComplexityCheck.Values extends java.lang.Object
Class that store range value and expression value.
-
-
Field Summary
Fields Modifier and Type Field Description private java.math.BigInteger
expressionValue
NP value for expression.private java.math.BigInteger
rangeValue
NP value for range.
-
Constructor Summary
Constructors Modifier Constructor Description private
Values(java.math.BigInteger valueOfRange, java.math.BigInteger valueOfExpression)
Constructor that assigns all of class fields.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigInteger
getExpressionValue()
Returns NP value for expression.java.math.BigInteger
getRangeValue()
Returns NP value for range.
-
-
-
Field Detail
-
rangeValue
private final java.math.BigInteger rangeValue
NP value for range.
-
expressionValue
private final java.math.BigInteger expressionValue
NP value for expression.
-
-
Constructor Detail
-
Values
private Values(java.math.BigInteger valueOfRange, java.math.BigInteger valueOfExpression)
Constructor that assigns all of class fields.- Parameters:
valueOfRange
- NP value for rangevalueOfExpression
- NP value for expression
-
-
Method Detail
-
getRangeValue
public java.math.BigInteger getRangeValue()
Returns NP value for range.- Returns:
- NP value for range
-
getExpressionValue
public java.math.BigInteger getExpressionValue()
Returns NP value for expression.- Returns:
- NP value for expression
-
-