You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
containsAnyOf implementation uses a TreeSet which only works with Comparable elements
Example
// Name is not Comparable, name if a factory method Iterable<Name> names = asList(name("John", "Doe"));
assertThat(names).containsAnyOf(name("John", "Doe"), name("Jane", "Doe"))
The text was updated successfully, but these errors were encountered:
Summary
containsAnyOf
implementation uses aTreeSet
which only works withComparable
elementsExample
The text was updated successfully, but these errors were encountered: