private TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , int index ) { while ( ( index ++ ) < ( ( VAR_1 . METHOD_2 ( ) ) - 1 ) ) { TYPE_1 position = VAR_1 . METHOD_3 ( index ) ; if ( position . METHOD_4 ( ) ) return position ; } return null ; }

private int METHOD_1 ( TYPE_2 VAR_1 , int index ) { do { TYPE_1 position = VAR_1 . METHOD_3 ( index ) ; if ( position . METHOD_4 ( ) ) return index ; } while ( ( index ++ ) < ( ( VAR_1 . METHOD_2 ( ) ) - 1 ) ) ; return - 1 ; }
