@Override public void forEachWithIndex(ObjectIntProcedure<? super T> objectIntProcedure) { ArrayListIterate.forEachWithIndex(this.delegate, objectIntProcedure); }
public void forEachWithIndex(int fromIndex, int toIndex, ObjectIntProcedure<? super T> objectIntProcedure) { ArrayListIterate.forEachWithIndex(this.delegate, fromIndex, toIndex, objectIntProcedure); }
ArrayListIterate.forEachWithIndex((ArrayList<T>) iterable, objectIntProcedure);
public void run() { try { this.procedure = this.procedureFactory.create(); int stop = this.end - 1; if (this.list instanceof MutableList) { ((MutableList<T>) this.list).forEachWithIndex(this.start, stop, this.procedure); } else if (this.list instanceof ArrayList) { ArrayListIterate.forEachWithIndex((ArrayList<T>) this.list, this.start, stop, this.procedure); } else { ListIterate.forEachWithIndex(this.list, this.start, stop, this.procedure); } } catch (Throwable newError) { this.taskRunner.setFailed(newError); } finally { this.taskRunner.taskCompleted(this); } }
@Override protected boolean exec() { try { this.procedure = this.procedureFactory.create(); if (this.list instanceof ListIterable) { ((ListIterable<T>) this.list).forEachWithIndex(this.start, this.end, this.procedure); } else if (this.list instanceof ArrayList) { ArrayListIterate.forEachWithIndex((ArrayList<T>) this.list, this.start, this.end, this.procedure); } else { ListIterate.forEachWithIndex(this.list, this.start, this.end, this.procedure); } } catch (Throwable newError) { this.taskRunner.setFailed(newError); } finally { this.taskRunner.taskCompleted(this); } return true; }
public void forEachWithIndex(int fromIndex, int toIndex, ObjectIntProcedure<? super T> objectIntProcedure) { ArrayListIterate.forEachWithIndex(this.delegate, fromIndex, toIndex, objectIntProcedure); }
@Override public void forEachWithIndex(ObjectIntProcedure<? super T> objectIntProcedure) { ArrayListIterate.forEachWithIndex(this.delegate, objectIntProcedure); }
ArrayListIterate.forEachWithIndex((ArrayList<T>) iterable, objectIntProcedure);
public void run() { try { this.procedure = this.procedureFactory.create(); int stop = this.end - 1; if (this.list instanceof MutableList) { ((MutableList<T>) this.list).forEachWithIndex(this.start, stop, this.procedure); } else if (this.list instanceof ArrayList) { ArrayListIterate.forEachWithIndex((ArrayList<T>) this.list, this.start, stop, this.procedure); } else { ListIterate.forEachWithIndex(this.list, this.start, stop, this.procedure); } } catch (Throwable newError) { this.taskRunner.setFailed(newError); } finally { this.taskRunner.taskCompleted(this); } }
@Override protected boolean exec() { try { this.procedure = this.procedureFactory.create(); if (this.list instanceof ListIterable) { ((ListIterable<T>) this.list).forEachWithIndex(this.start, this.end, this.procedure); } else if (this.list instanceof ArrayList) { ArrayListIterate.forEachWithIndex((ArrayList<T>) this.list, this.start, this.end, this.procedure); } else { ListIterate.forEachWithIndex(this.list, this.start, this.end, this.procedure); } } catch (Throwable newError) { this.taskRunner.setFailed(newError); } finally { this.taskRunner.taskCompleted(this); } return true; }