remove(String item) { int index = pItems.indexOf(item); if (index == -1) throw new IllegalArgumentException ("item \"" + item + "\" not found in Choice"); remove(index); }
public synchronized void remove(String item) { int index = pItems.indexOf(item); if (index == -1) throw new IllegalArgumentException ("item \"" + item + "\" not found in Choice"); remove(index); }
remove(String item){  int index = pItems.indexOf(item);  if (index == -1)    throw new IllegalArgumentException ("item \""					+ item + "\" not found in Choice");  remove(index);}