public class Differences extends ArrayList implements DifferenceListener
modCount| Constructor and Description |
|---|
Differences()
Default Constructor.
|
Differences(Differences differences)
Copy Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Differences diffs)
Adds Differences from the input Differences.
|
boolean |
add(NodeResult nr)
Adds Differences from the input NodeResult.
|
boolean |
add(Object obj) |
int |
getDiffCount()
Gets difference count.
|
String |
getHTML()
Gets Simple HTML string form of the Differences, with all the individual differences.
|
void |
identicalNodeFound(Node controlNode,
Node testNode,
String msg)
Notifies DifferenceListener that identical node has been found in.
|
void |
nodeNotFound(Node controlNode,
Node testNode,
String msg)
Notifies DifferenceListener that corresponding node has NOT been found in.
|
void |
similarNodeFound(Node controlNode,
Node testNode,
String msg)
Notifies DifferenceListener that similar node has been found in.
|
String |
toString()
Gets the String representation of the object.
|
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAllfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodepublic Differences()
public Differences(Differences differences)
public boolean add(NodeResult nr)
NodeResultpublic boolean add(Differences diffs)
public boolean add(Object obj)
public void similarNodeFound(Node controlNode, Node testNode, String msg)
similarNodeFound in interface DifferenceListenerpublic void identicalNodeFound(Node controlNode, Node testNode, String msg)
identicalNodeFound in interface DifferenceListenerpublic void nodeNotFound(Node controlNode, Node testNode, String msg)
nodeNotFound in interface DifferenceListenerpublic int getDiffCount()
public String toString()
toString in class AbstractCollectionpublic String getHTML()
Copyright © 2015. All rights reserved.