Vector

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

Removes the first element 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 was removed.

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