Class Matcher

java.lang.Object
de.mid.innovator.m2msdk.util.Matcher

public class Matcher extends Object
The matcher compares two lists for identity or non-identity.
Version:
10.1.1
Author:
jmback
  • Constructor Details

    • Matcher

      public Matcher()
  • Method Details

    • matches

      public boolean matches(List<Boolean> listEquals, List<Object> list1, List<Object> list2)
      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-identity
      list1 - First List of objects
      list2 - 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