java.util.List<E>
@Contract(pure = true) public abstract boolean contains( Object o)
Object
Overrides:
contains in interface Collection
contains
Collection
Params:
o
Returns:
true if this list contains the specified element
Throws:
ClassCastException – if the type of the specified element is incompatible with this list (optional)
ClassCastException
NullPointerException – if the specified element is null and this list does not permit null elements (optional)
NullPointerException