public TYPE_1 METHOD_1 ( ) { if ( ( VAR_1 . size ( ) ) == 0 ) throw new TYPE_2 ( ) ; while ( true ) { if ( VAR_1 . get ( index ) . METHOD_2 ( ) ) { return VAR_1 . get ( index ) . METHOD_1 ( ) ; } else if ( ( index ) < ( ( VAR_1 . size ( ) ) - 1 ) ) { ++ ( index ) ; } else { throw new TYPE_2 ( ) ; } } }

public boolean METHOD_2 ( ) { while ( true ) { if ( ( index ) > ( ( VAR_1 . size ( ) ) - 1 ) ) { return false ; } else if ( VAR_1 . get ( index ) . METHOD_2 ( ) ) { return true ; } else { ++ ( index ) ; } } }
