public TYPE_1 METHOD_1 ( int i ) throws TYPE_2 { int size = METHOD_2 ( ) ; if ( i == 0 ) return VAR_1 ; else if ( i == ( size - 1 ) ) return VAR_2 ; else if ( ( i >= size ) | ( i < 0 ) ) throw new TYPE_2 ( ) ; else { TYPE_1 VAR_3 = VAR_1 ; for ( int j = 1 ; j < i ; j ++ ) VAR_3 = VAR_3 . METHOD_3 ( ) ; return VAR_3 ; } }

public TYPE_1 METHOD_1 ( int i ) throws TYPE_2 { int size = METHOD_2 ( ) ; if ( i == 0 ) return VAR_1 ; else if ( i == ( size - 1 ) ) return VAR_2 ; else if ( ( i >= size ) | ( i < 0 ) ) throw new TYPE_2 ( ) ; else { TYPE_1 VAR_3 = VAR_1 ; for ( int j = 0 ; j < i ; j ++ ) VAR_3 = VAR_3 . METHOD_3 ( ) ; return VAR_3 ; } }
