Stores the specified key and returns its index. @param key key to be added @return index of stored key (larger than 0)
(final int key)
| 44 | * @return index of stored key (larger than {@code 0}) |
| 45 | */ |
| 46 | public final int put(final int key) { |
| 47 | final int i = store(key); |
| 48 | return Math.abs(i); |
| 49 | } |
| 50 | |
| 51 | /** |
| 52 | * Checks if the set contains the specified key. |
no test coverage detected