Returns the offset to the specified name. @param name name to be found @return offset or -1
(final byte[] name)
| 113 | * @return offset or -1 |
| 114 | */ |
| 115 | public int get(final byte[] name) { |
| 116 | final byte[][] lst = list; |
| 117 | for(int p = 0; p < size; p += 2) { |
| 118 | if(eq(lst[p], name)) return p >>> 1; |
| 119 | } |
| 120 | return -1; |
| 121 | } |
| 122 | |
| 123 | /** |
| 124 | * Returns the name at the specified index position. |
no test coverage detected