Assertion: collection's element | /r/CapableOf | use specified comparator
Facets:
Source sentences:
text: All elements in the list must be mutually comparable using the specified comparator (that is, c.compare(e1, e2) must not throw a ClassCastException for any elements e1 and e2 in the list).
text: ClassCastException - if the list contains elements that are not mutually comparable using the specified comparator.
text: ClassCastException - if the list contains elements that are not mutually comparable using the specified comparator, or the search key in not mutually comparable with the elements of the list using this comparator.
text: ClassCastException - if the collection contains elements that are not mutually comparable using the specified comparator.
text: ClassCastException - if the collection contains elements that are not mutually comparable using the specified comparator.