Stores the specified key if it has not been stored before. @param key key to be added @return true if the key did not exist yet and was stored
(final int key)
| 35 | * @return {@code true} if the key did not exist yet and was stored |
| 36 | */ |
| 37 | public final boolean add(final int key) { |
| 38 | return store(key) > 0; |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * Stores the specified key and returns its index. |
no test coverage detected