* a copy of the hidden columns collection. Intended to be used by callers
* OUTSIDE of HiddenColumns.
*/
-public class BoundedHiddenColsIterator implements Iterator<int[]>
+public class HiddenColsIterator implements Iterator<int[]>
{
// current index in hiddenColumns
private int currentPosition = 0;
/**
* Unbounded constructor
*/
- BoundedHiddenColsIterator(List<int[]> hiddenColumns)
+ HiddenColsIterator(List<int[]> hiddenColumns)
{
if (hiddenColumns != null)
{
* @param upperBound
* upper bound to iterate to
*/
- BoundedHiddenColsIterator(int lowerBound, int upperBound,
+ HiddenColsIterator(int lowerBound, int upperBound,
List<int[]> hiddenColumns)
{
init(lowerBound, upperBound, hiddenColumns);
try
{
LOCK.readLock().lock();
- return new BoundedHiddenColsIterator(hiddenColumns);
+ return new HiddenColsIterator(hiddenColumns);
} finally
{
LOCK.readLock().unlock();
try
{
LOCK.readLock().lock();
- return new BoundedHiddenColsIterator(start, end, hiddenColumns);
+ return new HiddenColsIterator(start, end, hiddenColumns);
} finally
{
LOCK.readLock().unlock();