boolean contains ( Object collection, Object element )
boolean contains ( Object collection, Object element )
Name | Type | Description |
---|---|---|
collection | Object | The Collection object |
element | Object | Element whose presence in this collection is to be tested |
Type | Description |
---|---|
boolean | true, If this collection contains the specified element |