@Override public void release() { it_inner.release(); } };
public void release() { mCasIterator.release(); }
public void release() { // pop all frames off the casIteratorStack, calling Flow.abort() on flow objects and //CasIterator.release() on the CAS iterators while (!casIteratorStack.isEmpty()) { StackFrame frame = casIteratorStack.pop(); frame.originalCasFlow.aborted(); frame.casIterator.release(); } // release all active, internal CASes Iterator<CAS> iter = activeCASes.iterator(); while (iter.hasNext()) { CAS cas = iter.next(); // mFlowControllerContainer.dropCas(cas); if (cas != mInputCas) // don't release the input CAS, it's caller's responsibility { cas.release(); } } //clear the active CASes list, to guard against ever trying to //reuse these CASes or trying to release them a second time. activeCASes.clear(); }