public void setSwingDataCollection(Collection<ICFBamIndexObj> value) { final String S_ProcName = "setSwingDataCollection"; swingDataCollection = value; if (swingDataCollection == null) { arrayOfIndex = new ICFBamIndexObj[0]; } else { int len = value.size(); arrayOfIndex = new ICFBamIndexObj[len]; Iterator<ICFBamIndexObj> iter = swingDataCollection.iterator(); int idx = 0; while (iter.hasNext() && (idx < len)) { arrayOfIndex[idx++] = iter.next(); } if (idx < len) { throw CFLib.getDefaultExceptionFactory() .newRuntimeException( getClass(), S_ProcName, "Collection iterator did not fully populate the array copy"); } if (iter.hasNext()) { throw CFLib.getDefaultExceptionFactory() .newRuntimeException( getClass(), S_ProcName, "Collection iterator had left over items when done populating array copy"); } Arrays.sort(arrayOfIndex, compareIndexByQualName); } PickerTableModel tblDataModel = getDataModel(); if (tblDataModel != null) { tblDataModel.fireTableDataChanged(); } }
public CFBamRamMinorVersionCursor( CFSecurityAuthorization argAuthorization, ICFInternetSchema argSchema, Collection<CFInternetMinorVersionBuff> cltn) { super(argAuthorization, argSchema, "", cltn.size()); values = cltn; cursor = values.iterator(); }
public CFSecurityRamClusterCursor( CFSecurityAuthorization argAuthorization, ICFSecuritySchema argSchema, Collection<CFSecurityClusterBuff> cltn) { super(argAuthorization, argSchema, "", cltn.size()); values = cltn; cursor = values.iterator(); }
public CFInternetRamRealProjectCursor( CFSecurityAuthorization argAuthorization, ICFInternetSchema argSchema, Collection<CFInternetRealProjectBuff> cltn) { super(argAuthorization, argSchema, "", cltn.size()); values = cltn; cursor = values.iterator(); }
public CFBamRamInt64ColCursor( CFSecurityAuthorization argAuthorization, ICFBamSchema argSchema, Collection<CFBamInt64ColBuff> cltn) { super(argAuthorization, argSchema, "", cltn.size()); values = cltn; cursor = values.iterator(); }