Collections.remove()

Signature

boolean remove ( Object collection, Object element )

Domain

ACTION

Description

Removes the first occurrence of the specified element from this collection, if it is present..

Parameters

NameTypeDescription
collectionObjectThe Collection Object
elementObjectElement to be removed from this collection, if present

Returns

TypeDescription
booleantrue, If this collection contained the specified element

Cautions

none