public int indexOf(String name,int start){
  int sz=size();
  for (int i=start; i < sz; i++) {
    String n=getName(i);
    if (name == null) {
      if (n == null)       return i;
    }
 else     if (name.equals(n)) {
      return i;
    }
  }
  return -1;
}

public int indexOf ( String name , int start ) { int sz = size ( ) ; for ( int i = start ; i < sz ; i ++ ) { String n = getName ( i ) ; if ( name == null ) { if ( n == null ) return i ; } else if ( name . equals ( n ) ) { return i ; } } return - 1 ; }
scans the list sequentially beginning at the specified index and returns the index of the first pair with the specified name .
