public static class ToleratedDeltaMap.Precision extends Object
Constructor and Description |
---|
Precision(BigDecimal delta) |
Precision(BigDecimal delta,
boolean percentage) |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getDelta() |
boolean |
isPercentage() |
public Precision(BigDecimal delta)
delta
- The allowed/tolerated differencepublic Precision(BigDecimal delta, boolean percentage)
delta
- The allowed/tolerated differencepercentage
- Whether or not the given delta
should be
interpreted as percentage or not during the comparisonpublic boolean isPercentage()
public BigDecimal getDelta()
Copyright © 2002–2015. All rights reserved.