( int i, int j )
| 104 | } |
| 105 | |
| 106 | public void swap( int i, int j ) { |
| 107 | range_check(i); |
| 108 | range_check(j); |
| 109 | if( i==j ) return; |
| 110 | E tmp = _es[i]; |
| 111 | _es[i] = _es[j]; |
| 112 | _es[j] = tmp; |
| 113 | } |
| 114 | |
| 115 | |
| 116 | /** @param c Collection to be added */ |
no test coverage detected