public class ToleratedDeltaMap extends Object
ToleratedDeltaMap.ToleratedDelta
objects to be used
for numeric comparisons with an allowed deviation of two valuesModifier and Type | Class and Description |
---|---|
static class |
ToleratedDeltaMap.Precision
Container for the tolerated delta of two values that are compared to each other.
|
static class |
ToleratedDeltaMap.ToleratedDelta
Simple bean that holds the tolerance for floating point comparisons for a specific
database column.
|
Constructor and Description |
---|
ToleratedDeltaMap() |
Modifier and Type | Method and Description |
---|---|
void |
addToleratedDelta(ToleratedDeltaMap.ToleratedDelta delta)
Adds a new object to the map of tolerated deltas
|
ToleratedDeltaMap.ToleratedDelta |
findToleratedDelta(String tableName,
String columnName)
Lookup a tolerated delta object by tableName and ColumnName.
|
Map |
getToleratedDeltas() |
public ToleratedDeltaMap.ToleratedDelta findToleratedDelta(String tableName, String columnName)
tableName
- columnName
- null
if no such object was foundpublic Map getToleratedDeltas()
public void addToleratedDelta(ToleratedDeltaMap.ToleratedDelta delta)
delta
- The object to be added to the mapCopyright © 2002–2024. All rights reserved.