Stores the specified key and returns its index. @param key key to be added @return index of stored key (larger than 0)
(final byte[] key)
| 108 | * @return index of stored key (larger than {@code 0}) |
| 109 | */ |
| 110 | public final int put(final byte[] key) { |
| 111 | final int index = store(key); |
| 112 | return Math.abs(index); |
| 113 | } |
| 114 | |
| 115 | /** |
| 116 | * Checks if the set contains the specified key. |