Uses of Class
org.assertj.core.internal.DeepDifference.DualKey
Packages that use DeepDifference.DualKey
-
Uses of DeepDifference.DualKey in org.assertj.core.internal
Methods in org.assertj.core.internal that return types with arguments of type DeepDifference.DualKeyModifier and TypeMethodDescriptionprivate static Deque
<DeepDifference.DualKey> DeepDifference.initStack
(Object a, Object b, List<String> parentPath, Map<String, Comparator<?>> comparatorByPropertyOrField, TypeComparators comparatorByType) Methods in org.assertj.core.internal with parameters of type DeepDifference.DualKeyModifier and TypeMethodDescriptionprivate static boolean
DeepDifference.hasCustomComparator
(DeepDifference.DualKey dualKey, Map<String, Comparator<?>> comparatorByPropertyOrField, TypeComparators comparatorByType) Method parameters in org.assertj.core.internal with type arguments of type DeepDifference.DualKeyModifier and TypeMethodDescriptionprivate 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>
booleanDeepDifference.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>
booleanDeepDifference.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>
booleanDeepDifference.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>
booleanDeepDifference.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.