(Object o)
| 162 | } |
| 163 | |
| 164 | public static int hasheq(Object o){ |
| 165 | if(o == null) |
| 166 | return 0; |
| 167 | if(o instanceof IHashEq) |
| 168 | return dohasheq((IHashEq) o); |
| 169 | if(o instanceof Number) |
| 170 | return Numbers.hasheq((Number)o); |
| 171 | if(o instanceof String) |
| 172 | return Murmur3.hashInt(o.hashCode()); |
| 173 | return o.hashCode(); |
| 174 | } |
| 175 | |
| 176 | private static int dohasheq(IHashEq o) { |
| 177 | return o.hasheq(); |
no test coverage detected