Integer statusEnd = (end == Integer.MAX_VALUE) ? null : new Integer(end); Integer statusStep = (step == 1) ? null : new Integer(step); status = new LoopStatus(statusBegin, statusEnd, statusStep); context.setVariable(statusVar, status); status.setCount(count); status.setCurrent(value); status.setFirst(firstTime); status.setIndex(index); status.setLast(finished || !iter.hasNext() || index > end); Integer statusEnd = new Integer(end); Integer statusStep = new Integer(step); status = new LoopStatus(statusBegin, statusEnd, statusStep); context.setVariable(statusVar, status); status.setIndex(index); status.setCount(count); status.setCurrent(value); status.setFirst(index == begin); status.setLast(index > end - step);
Integer statusEnd = (end == Integer.MAX_VALUE) ? null : new Integer(end); Integer statusStep = (step == 1) ? null : new Integer(step); status = new LoopStatus(statusBegin, statusEnd, statusStep); context.setVariable(statusVar, status); status.setCount(count); status.setCurrent(value); status.setFirst(firstTime); status.setIndex(index); status.setLast(finished || !iter.hasNext() || index > end); Integer statusEnd = new Integer(end); Integer statusStep = new Integer(step); status = new LoopStatus(statusBegin, statusEnd, statusStep); context.setVariable(statusVar, status); status.setIndex(index); status.setCount(count); status.setCurrent(value); status.setFirst(index == begin); status.setLast(index > end - step);
Integer statusEnd = (end == Integer.MAX_VALUE) ? null : new Integer(end); Integer statusStep = (step == 1) ? null : new Integer(step); status = new LoopStatus(statusBegin, statusEnd, statusStep); context.setVariable(statusVar, status); status.setCount(count); status.setCurrent(value); status.setFirst(firstTime); status.setIndex(index); status.setLast(finished || !iter.hasNext() || index > end); Integer statusEnd = new Integer(end); Integer statusStep = new Integer(step); status = new LoopStatus(statusBegin, statusEnd, statusStep); context.setVariable(statusVar, status); status.setIndex(index); status.setCount(count); status.setCurrent(value); status.setFirst(index == begin); status.setLast(index > end - step);
Integer statusEnd = (end == Integer.MAX_VALUE) ? null : new Integer(end); Integer statusStep = (step == 1) ? null : new Integer(step); status = new LoopStatus(statusBegin, statusEnd, statusStep); context.setVariable(statusVar, status); status.setCount(count); status.setCurrent(value); status.setFirst(firstTime); status.setIndex(index); status.setLast(finished || !iter.hasNext() || index > end); Integer statusEnd = new Integer(end); Integer statusStep = new Integer(step); status = new LoopStatus(statusBegin, statusEnd, statusStep); context.setVariable(statusVar, status); status.setIndex(index); status.setCount(count); status.setCurrent(value); status.setFirst(index == begin); status.setLast(index > end - step);