private int METHOD_1 ( TYPE_1 VAR_1 ) { for ( int result = 1 ; result <= ( VAR_2 . size ( ) ) ; result ++ ) { if ( ( METHOD_2 ( VAR_1 , VAR_2 . get ( ( result - 1 ) ) ) ) > 0 ) { return result ; } } return VAR_2 . size ( ) ; }

private int METHOD_1 ( TYPE_1 VAR_1 ) { for ( int result = 0 ; result < ( VAR_2 . size ( ) ) ; result ++ ) { if ( ( METHOD_2 ( VAR_1 , VAR_2 . get ( result ) ) ) > 0 ) { return result ; } } return ( VAR_2 . size ( ) ) - 1 ; }
