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;
}