public void makeMapping(Vector<Vector<MappingObject>> mapVec){
  this.mapping=new MappingObject[mapVec.size()][];
  for (int i=0; i < this.mapping.length; i++) {
    Vector<MappingObject> line=mapVec.elementAt(i);
    this.mapping[i]=new MappingObject[line.size()];
    for (int j=0; j < line.size(); j++) {
      this.mapping[i][j]=line.elementAt(j);
    }
  }
  return;
}

public void makeMapping ( Vector < Vector < MappingObject > > mapVec ) { this . mapping = new MappingObject [ mapVec . size ( ) ] [ ] ; for ( int i = 0 ; i < this . mapping . length ; i ++ ) { Vector < MappingObject > line = mapVec . elementAt ( i ) ; this . mapping [ i ] = new MappingObject [ line . size ( ) ] ; for ( int j = 0 ; j < line . size ( ) ; j ++ ) { this . mapping [ i ] [ j ] = line . elementAt ( j ) ; } } return ; }
sets the mapping field to an array version of mapvec , which must be a vector of vectors of mappingobjects .
