/** * Deletes the first element from the receiver that is identical to the specified element. * Does nothing, if no such matching element is contained. * * @param element the element to be deleted. */ public void delete(boolean element) { int index = indexOfFromTo(element, 0, size-1); if (index>=0) remove(index); } /**
/** * Deletes the first element from the receiver that is identical to the specified element. * Does nothing, if no such matching element is contained. * * @param element the element to be deleted. */ public void delete(boolean element) { int index = indexOfFromTo(element, 0, size-1); if (index>=0) remove(index); } /**