public boolean hasNext() { int size = axisOrderList.size(); for (int i = 0; i < size ; i++) { AxisInterface axis = (AxisInterface) axisOrderList.get(i); int index = ((Integer) locations.get(axis)).intValue(); if (index < axis.getLength()-1) { return true; } } return false;
public boolean hasNext() { return HasNext;
  public boolean hasNext() {    int size = axisOrderList.size();    for (int i = 0; i < size ; i++) {      AxisInterface axis = (AxisInterface) axisOrderList.get(i);      int index = ((Integer) locations.get(axis)).intValue();      if (index < axis.getLength()-1) {        return true;      }    }    return false;  }