protected abstract class AbstractDifferenceEngine.ComparisonState extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
ComparisonState(boolean finished,
ComparisonResult result)
Creates a new ComparisonState.
|
| Modifier and Type | Method and Description |
|---|---|
protected AbstractDifferenceEngine.ComparisonState |
andIfTrueThen(boolean predicate,
AbstractDifferenceEngine.DeferredComparison newStateProducer)
Maybe combines the current state with a different comparison.
|
protected AbstractDifferenceEngine.ComparisonState |
andIfTrueThen(boolean predicate,
Comparison comp)
Maybe combines the current state with a different comparison.
|
protected AbstractDifferenceEngine.ComparisonState |
andThen(AbstractDifferenceEngine.DeferredComparison newStateProducer)
Combines the current state with a different comparison.
|
protected AbstractDifferenceEngine.ComparisonState |
andThen(Comparison comp)
Combines the current state with a different comparison.
|
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
protected ComparisonState(boolean finished,
ComparisonResult result)
finished - whether comparison should be stoppedresult - the current resultprotected AbstractDifferenceEngine.ComparisonState andThen(AbstractDifferenceEngine.DeferredComparison newStateProducer)
newStateProducer - may be invoked to produce the next ConditionStateprotected AbstractDifferenceEngine.ComparisonState andIfTrueThen(boolean predicate, AbstractDifferenceEngine.DeferredComparison newStateProducer)
predicate - whether to combine the comparisonsnewStateProducer - may be invoked to produce the next ConditionStateprotected AbstractDifferenceEngine.ComparisonState andThen(Comparison comp)
comp - may be evaluated to produce the next ConditionStateprotected AbstractDifferenceEngine.ComparisonState andIfTrueThen(boolean predicate, Comparison comp)
predicate - whether to combine the comparisonscomp - may be evaluated to produce the next ConditionStateCopyright © 2001–2025 XMLUnit. All rights reserved.