public Object remove(int posn){
  Object r=addrs.elementAt(posn);
  addrs.removeElementAt(posn);
  return r;
}

public Object remove ( int posn ) { Object r = addrs . elementAt ( posn ) ; addrs . removeElementAt ( posn ) ; return r ; }
deletes the address at index posn from the list of addresses . all addresses at index greater than posn are shifted down the list by one ( towards index 0 ) .
