public static class ToleratedDeltaMap.Precision extends Object
Constructor and Description |
---|
ToleratedDeltaMap.Precision(BigDecimal delta) |
ToleratedDeltaMap.Precision(BigDecimal delta,
boolean percentage) |
public ToleratedDeltaMap.Precision(BigDecimal delta)
delta
- The allowed/tolerated differencepublic ToleratedDeltaMap.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-2012. All Rights Reserved.