()
| 119 | } |
| 120 | |
| 121 | @Override |
| 122 | public int hashCode() { |
| 123 | int hashCode = 1; |
| 124 | for (int i = 0, n = pos; i < n; i++) { |
| 125 | int v = getQuick(i); |
| 126 | hashCode = 31 * hashCode + (v == NO_ENTRY_VALUE ? 0 : v); |
| 127 | } |
| 128 | return hashCode; |
| 129 | } |
| 130 | |
| 131 | public int indexOf(byte v, int low, int high) { |
| 132 | assert high <= pos; |