Assertion: collection | /r/MadeOf | element
Facets:
Source sentences:
text: ClassCastException - if the collection contains elements that are not mutually comparable (for example, strings and integers).
text: For example, the specification for the contains(Object o) method says: "returns true if and only if this collection contains at least one element e such that (o==null ? e==null : o.equals(e)) .
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 (for example, strings and integers).
text: ClassCastException - if the collection contains elements that are not mutually comparable using the specified comparator.
text: For example, the specification for the contains(Object o) method says: "returns true if and only if this collection contains at least one element e such that (o==null ? e==null : o.equals(e)) .