import jalview.api.AlignmentColsCollectionI;
-import java.util.BitSet;
import java.util.Iterator;
public class AllColsCollection implements AlignmentColsCollectionI
{
return hidden.hasHiddenColumns();
}
-
- private BitSet bsVisible;
-
- @Override
- public BitSet getHiddenBitSet()
- {
- return hidden.getBitset();
- }
-
- /**
- * return ALL columns, not just the truly visible ones
- */
- @Override
- public BitSet getOverviewBitSet()
- {
- if (bsVisible == null)
- {
- bsVisible = new BitSet(end + 1);
- bsVisible.set(0, end + 1);
- }
- return bsVisible;
- }
}