HashSet.contains

Returns <tt>true</tt> if this set contains the specified element. More formally, returns <tt>true</tt> if and only if this set contains an element <tt>e</tt> such that <tt>(o is null&nbsp;?&nbsp;e is null&nbsp;:&nbsp;o.equals(e))</tt>.

@param o element whose presence in this set is to be tested @return <tt>true</tt> if this set contains the specified element

class HashSet(E)
override
bool
contains
(
E o
)

Meta