mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-06 13:20:53 +07:00
8 lines
1.6 KiB
HTML
8 lines
1.6 KiB
HTML
<html><head><base href="placeholder"> <style type="text/css"> #error { background-color: #eeeeee; margin-bottom: 10px; } p { margin: 5px 0; } </style></head><body><small><b><a href="psi_element://java.util.List"><code>java.util.List</code></a></b></small><PRE>public abstract boolean <b>contains</b>(<a href="psi_element://java.lang.Object"><code>Object</code></a> o)</PRE>
|
|
|
|
Returns <tt>true</tt> if this list contains the specified element.
|
|
More formally, returns <tt>true</tt> if and only if this list contains
|
|
at least one element <tt>e</tt> such that
|
|
<tt>(o==null ? e==null : o.equals(e))</tt>.
|
|
|
|
<DD><DL><DT><b>Overrides:</b><DD><a href="psi_element://java.util.Collection#contains(java.lang.Object)"><code>contains</code></a> in interface <a href="psi_element://java.util.Collection"><code>Collection</code></a></DD></DL></DD><DD><DL><DT><b>Parameters:</b><DD><code>o</code> - element whose presence in this list is to be tested. </DD></DL></DD><DD><DL><DT><b>Returns:</b><DD><tt>true</tt> if this list contains the specified element. </DD></DL></DD><DD><DL><DT><b>Throws:</b><DD><a href="psi_element://java.lang.ClassCastException"><code>ClassCastException</code></a> - if the type of the specified element is incompatible with this list (optional). <DD><a href="psi_element://java.lang.NullPointerException"><code>NullPointerException</code></a> - if the specified element is null and this list does not support null elements (optional).</DD></DL></DD></body></html> |