protected CRFPCoverageBox[] vectorToCRFPCoverageBoxes(Vector vector){
  int size=vector.size();
  CRFPCoverageBox[] rets=new CRFPCoverageBox[size];
  for (int i=0; i < size; i++) {
    RpfCoverageBox box=(RpfCoverageBox)vector.elementAt(i);
    if (box != null) {
      rets[i]=new CRFPCoverageBox((float)box.nw_lat,(float)box.nw_lon,(float)box.se_lat,(float)box.se_lon,box.subframeLatInterval,box.subframeLonInterval,box.chartCode,(short)box.zone,new XYPoint((short)box.startIndexes.x,(short)box.startIndexes.y),new XYPoint((short)box.endIndexes.x,(short)box.endIndexes.y),(short)box.tocNumber,(short)box.entryNumber,box.scale,box.percentCoverage);
    }
  }
  return rets;
}

protected CRFPCoverageBox [ ] vectorToCRFPCoverageBoxes ( Vector vector ) { int size = vector . size ( ) ; CRFPCoverageBox [ ] rets = new CRFPCoverageBox [ size ] ; for ( int i = 0 ; i < size ; i ++ ) { RpfCoverageBox box = ( RpfCoverageBox ) vector . elementAt ( i ) ; if ( box != null ) { rets [ i ] = new CRFPCoverageBox ( ( float ) box . nw_lat , ( float ) box . nw_lon , ( float ) box . se_lat , ( float ) box . se_lon , box . subframeLatInterval , box . subframeLonInterval , box . chartCode , ( short ) box . zone , new XYPoint ( ( short ) box . startIndexes . x , ( short ) box . startIndexes . y ) , new XYPoint ( ( short ) box . endIndexes . x , ( short ) box . endIndexes . y ) , ( short ) box . tocNumber , ( short ) box . entryNumber , box . scale , box . percentCoverage ) ; } } return rets ; }
convert a vector of rpfcoveragebox to a crfpcoveragebox array .
