public void invalidateRecursive ( ) { Queue < AbstractReasonerStage > toInvalidate_ = new LinkedList < AbstractReasonerStage > ( ) ; toInvalidate_ . add ( this ) ; AbstractReasonerStage next ; while ( ( next = toInvalidate_ . poll ( ) ) != null ) { if ( next . invalidate ( ) ) { for ( AbstractReasonerStage postStage : next . postStages_ ) { toInvalidate_ . add ( postStage ) ; } } } }
Invalidates this stage and all subsequent stages if not already done so