*/
public class BoundedHiddenColsIterator implements Iterator<int[]>
{
- // start position to iterate from
- private int start;
-
- // end position to iterate to
- private int end;
-
// current index in hiddenColumns
private int currentPosition = 0;
private void init(int lowerBound, int upperBound,
List<int[]> hiddenColumns)
{
- start = lowerBound;
- end = upperBound;
+ int start = lowerBound;
+ int end = upperBound;
if (hiddenColumns != null)
{
package jalview.datamodel;
-public class HiddenCursorPosition
+public final class HiddenCursorPosition
{
// index of last visited region
- private int regionIndex;
+ private final int regionIndex;
// number of hidden columns before last visited region
- private int hiddenSoFar;
+ private final int hiddenSoFar;
public HiddenCursorPosition(int index, int hiddencount)
{