private static boolean |
DeepDifference.compareArrays(Object array1,
Object array2,
List<String> path,
Deque<DeepDifference.DualKey> toCompare,
Set<DeepDifference.DualKey> visited) |
Deeply compare to Arrays [].
|
private static boolean |
DeepDifference.compareArrays(Object array1,
Object array2,
List<String> path,
Deque<DeepDifference.DualKey> toCompare,
Set<DeepDifference.DualKey> visited) |
Deeply compare to Arrays [].
|
private static <K,V> boolean |
DeepDifference.compareOrderedCollection(Collection<K> col1,
Collection<V> col2,
List<String> path,
Deque<DeepDifference.DualKey> toCompare,
Set<DeepDifference.DualKey> visited) |
Deeply compare two Collections that must be same length and in same
order.
|
private static <K,V> boolean |
DeepDifference.compareOrderedCollection(Collection<K> col1,
Collection<V> col2,
List<String> path,
Deque<DeepDifference.DualKey> toCompare,
Set<DeepDifference.DualKey> visited) |
Deeply compare two Collections that must be same length and in same
order.
|
private static <K1,V1,K2,V2> boolean |
DeepDifference.compareSortedMap(SortedMap<K1,V1> map1,
SortedMap<K2,V2> map2,
List<String> path,
Deque<DeepDifference.DualKey> toCompare,
Set<DeepDifference.DualKey> visited) |
Deeply compare two SortedMap instances.
|
private static <K1,V1,K2,V2> boolean |
DeepDifference.compareSortedMap(SortedMap<K1,V1> map1,
SortedMap<K2,V2> map2,
List<String> path,
Deque<DeepDifference.DualKey> toCompare,
Set<DeepDifference.DualKey> visited) |
Deeply compare two SortedMap instances.
|
private static <K,V> boolean |
DeepDifference.compareUnorderedCollection(Collection<K> col1,
Collection<V> col2,
List<String> path,
Deque<DeepDifference.DualKey> toCompare,
Set<DeepDifference.DualKey> visited,
Map<String,Comparator<?>> comparatorByPropertyOrField,
TypeComparators comparatorByType) |
|
private static <K,V> boolean |
DeepDifference.compareUnorderedCollection(Collection<K> col1,
Collection<V> col2,
List<String> path,
Deque<DeepDifference.DualKey> toCompare,
Set<DeepDifference.DualKey> visited,
Map<String,Comparator<?>> comparatorByPropertyOrField,
TypeComparators comparatorByType) |
|
private static <K,V> boolean |
DeepDifference.compareUnorderedCollectionByHashCodes(Collection<K> col1,
Collection<V> col2,
List<String> path,
Deque<DeepDifference.DualKey> toCompare,
Set<DeepDifference.DualKey> visited) |
It places one collection into a temporary Map by deepHashCode(), so that it
can walk the other collection and look for each item in the map, which
runs in O(N) time, rather than an O(N^2) lookup that would occur if each
item from collection one was scanned for in collection two.
|
private static <K,V> boolean |
DeepDifference.compareUnorderedCollectionByHashCodes(Collection<K> col1,
Collection<V> col2,
List<String> path,
Deque<DeepDifference.DualKey> toCompare,
Set<DeepDifference.DualKey> visited) |
It places one collection into a temporary Map by deepHashCode(), so that it
can walk the other collection and look for each item in the map, which
runs in O(N) time, rather than an O(N^2) lookup that would occur if each
item from collection one was scanned for in collection two.
|
private static <K1,V1,K2,V2> boolean |
DeepDifference.compareUnorderedMap(Map<K1,V1> map1,
Map<K2,V2> map2,
List<String> path,
Deque<DeepDifference.DualKey> toCompare,
Set<DeepDifference.DualKey> visited) |
Deeply compare two Map instances.
|
private static <K1,V1,K2,V2> boolean |
DeepDifference.compareUnorderedMap(Map<K1,V1> map1,
Map<K2,V2> map2,
List<String> path,
Deque<DeepDifference.DualKey> toCompare,
Set<DeepDifference.DualKey> visited) |
Deeply compare two Map instances.
|