public TYPE_1 METHOD_1 ( int index ) { int i = 0 ; for ( TYPE_1 element : this ) { if ( i == index ) { return element ; } } throw new TYPE_2 ( ) ; }
public TYPE_1 METHOD_1 ( int index ) { int i = 0 ; for ( TYPE_1 element : this ) { if ( i == index ) { return element ; } i ++ ; } throw new TYPE_2 ( ) ; }