/** * @param cytobandResultset Removes cytobandResultset to this CopyNumberResultsContainer object. */ public void removeCytobandResultset(CytobandResultset cytobandResultset) { if (cytobandResultset != null && cytobandResultset.getCytoband() != null) { cytobands.remove(cytobandResultset.getCytoband().toString()); if (cytobandResultset.getReporterNames() != null) { reporterNames.removeAll(cytobandResultset.getReporterNames()); } } }
/** @param cytobandResultset Adds cytobandResultset to this CopyNumberResultsContainer object. */ public void addCytobandResultset(CytobandResultset cytobandResultset) { if (cytobandResultset != null && cytobandResultset.getCytoband() != null) { cytobands.put(cytobandResultset.getCytoband().getValue().toString(), cytobandResultset); if (cytobandResultset.getReporterNames() != null) { reporterNames.addAll(cytobandResultset.getReporterNames()); } } }