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