}
}
+ public Iterator<int[]> iterator()
+ {
+ if (hiddenColumns != null)
+ {
+ return new BoundedHiddenColsIterator(0, hiddenColumns.size(), true);
+ }
+ else
+ {
+ return new BoundedHiddenColsIterator(0, 0, true);
+ }
+ }
+
public Iterator<int[]> getBoundedIterator(int start, int end,
boolean useCopy)
{
}
else
{
- ArrayList<int[]> hiddenRegions = hidden.getHiddenColumnsCopy();
- for (int[] region : hiddenRegions)
+ Iterator<int[]> hiddenRegions = hidden.iterator();
+ while (hiddenRegions.hasNext())
{
+ int[] region = hiddenRegions.next();
HiddenColumns hc = new HiddenColumns();
hc.setStart(region[0]);
hc.setEnd(region[1]);
TEST_SEQ_HEIGHT = expectedSeqs.size();
TEST_GRP_HEIGHT = expectedGrps.size();
TEST_ANOT_HEIGHT = expectedAnnots.size();
- TEST_CS_HEIGHT = expectedColSel.getHiddenColumnsCopy().size();
+ TEST_CS_HEIGHT = expectedColSel.getSize();
exportSettings = new AlignExportSettingI()
{