Package de.mid.innovator.m2msdk.util
Class Matcher
java.lang.Object
de.mid.innovator.m2msdk.util.Matcher
The matcher compares two lists for identity or non-identity.
- Version:
- 10.1.1
- Author:
- jmback
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Matcher
public Matcher()
-
-
Method Details
-
matches
Each member of list1 is checked for identity or non-identity with the corresponding member in list2. If it is compared for identity or non-identity is specified in listEquals.- Parameters:
listEquals- List of identity or non-identitylist1- First List of objectslist2- Second List of objects- Returns:
- true, if the lists have the same size and all elements of the first list are identical to the corresponding elements in the second list
-