()
| 79 | /// |
| 80 | /// - #equals |
| 81 | @Override |
| 82 | public int hashCode() { |
| 83 | int result = 0; |
| 84 | Iterator<?> it = iterator(); |
| 85 | while (it.hasNext()) { |
| 86 | Object next = it.next(); |
| 87 | result += next == null ? 0 : next.hashCode(); |
| 88 | } |
| 89 | return result; |
| 90 | } |
| 91 | |
| 92 | /// Removes all occurrences in this collection which are contained in the |
| 93 | /// specified collection. |