( Object o )
| 209 | // underlying array. If the hashCode() is used (e.g., inserting into a |
| 210 | // HashMap) and the then the array changes, the hashCode() will change also. |
| 211 | @Override public boolean equals( Object o ) { |
| 212 | if( this==o ) return true; |
| 213 | if( !(o instanceof Ary ary) ) return false; |
| 214 | if( _len != ary._len ) return false; |
| 215 | if( _es == ary._es ) return true; |
| 216 | for( int i=0; i<_len; i++ ) |
| 217 | if( !(_es[i]==null ? (ary._es[i] == null) : _es[i].equals(ary._es[i])) ) |
| 218 | return false; |
| 219 | return true; |
| 220 | } |
| 221 | @Override public int hashCode( ) { |
| 222 | int sum=_len; |
| 223 | for( int i=0; i<_len; i++ ) |
no outgoing calls