public class MatchTrace
extends java.lang.Object
Constructor and Description |
---|
MatchTrace() |
MatchTrace(MatchTrace copy) |
Modifier and Type | Method and Description |
---|---|
Match |
add(java.lang.Object left,
java.lang.Object right,
boolean matching,
MatchRule rule) |
Match |
createMatch(java.lang.Object left,
java.lang.Object right,
boolean matching) |
Match |
getMatch(java.lang.Object object)
Returns the first match for the object
|
Match |
getMatch(java.lang.Object left,
MatchRule rule) |
Match |
getMatch(java.lang.Object left,
java.lang.Object right) |
java.util.List<Match> |
getMatches()
Returns all matches, both successful and
pairs that have been compared but do not match
|
java.util.List |
getMatches(java.lang.Object object)
Returns all the matches for a given object
|
MatchTrace |
getReduced()
Returns only successful matches
|
boolean |
hasBeenMatched(java.lang.Object object) |
java.lang.String |
toString(IEolContext context) |
public MatchTrace()
public MatchTrace(MatchTrace copy)
public MatchTrace getReduced()
public Match add(java.lang.Object left, java.lang.Object right, boolean matching, MatchRule rule)
public Match getMatch(java.lang.Object left, java.lang.Object right)
public java.util.List getMatches(java.lang.Object object)
object
- public Match getMatch(java.lang.Object object)
object
- public boolean hasBeenMatched(java.lang.Object object)
public Match createMatch(java.lang.Object left, java.lang.Object right, boolean matching)
public java.lang.String toString(IEolContext context)
public java.util.List<Match> getMatches()