( Object o )
| 182 | // underlying array. If the hashCode() is used (e.g., inserting into a |
| 183 | // HashMap) and the then the array changes, the hashCode() will change also. |
| 184 | @Override public boolean equals( Object o ) { |
| 185 | if( this==o ) return true; |
| 186 | if( !(o instanceof Ary ary) ) return false; |
| 187 | if( _len != ary._len ) return false; |
| 188 | if( _es == ary._es ) return true; |
| 189 | for( int i=0; i<_len; i++ ) |
| 190 | if( !(_es[i]==null ? (ary._es[i] == null) : _es[i].equals(ary._es[i])) ) |
| 191 | return false; |
| 192 | return true; |
| 193 | } |
| 194 | @Override public int hashCode( ) { |
| 195 | int sum=_len; |
| 196 | for( int i=0; i<_len; i++ ) |
no outgoing calls