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, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public Differences()
public Differences(Differences differences)
public boolean add(NodeResult nr)
NodeResult
public boolean add(Differences diffs)
public boolean add(Object obj)
public void similarNodeFound(Node controlNode, Node testNode, String msg)
similarNodeFound
in interface DifferenceListener
public void identicalNodeFound(Node controlNode, Node testNode, String msg)
identicalNodeFound
in interface DifferenceListener
public void nodeNotFound(Node controlNode, Node testNode, String msg)
nodeNotFound
in interface DifferenceListener
public int getDiffCount()
public String toString()
toString
in class AbstractCollection
public String getHTML()
Copyright © 2016. All rights reserved.