bool remove(E entry)

Remove entry from the linked list.

Returns false and does nothing if entry is not in this linked list.

This is equivalent to calling entry.unlink() if the entry is in this list.

Source

bool remove(E entry) {
  if (entry._list != this) return false;
  _unlink(entry);  // Unlink will decrement length.
  return true;
}