Vector

bool removeAll(const T& value) [Vector template]

Removes all elements whose value is value. This works for primitive types (int, etc.) as well as classes that support operator== like String.

If the value is a pointer (such as char *) it will compare the pointer itself, not the thing being pointed to.

Returns true if the item existed and at least one was removed.

// PROTOTYPE
bool removeAll(const T& value);