private boolean isLoopExitCondition ( ) { while ( workingDirectory . index == workingDirectory . files . length ) { if ( stack . isEmpty ( ) ) { return true ; } pop ( ) ; } return false ; }
Test for iteration loop exit condition . Iteration loop is ended if current working directory index reaches its files count and there is no more directories on stack .