[docs] Build with JavaDoc 17 and add missing docs (#6220)

Co-authored-by: Sam Carlberg <sam.carlberg@gmail.com>
This commit is contained in:
Tyler Veness
2024-01-19 23:42:09 -08:00
committed by GitHub
parent 9ec27c1202
commit 77c09b9ce2
54 changed files with 3527 additions and 26 deletions

View File

@@ -225,8 +225,19 @@ public class LongToObjectHashMap<V> {
return List.copyOf(values); // return a readonly copy
}
/**
* Interface for map iterator function.
*
* @param <V> Value type.
*/
@FunctionalInterface
public interface IteratorFunction<V> {
/**
* Accepts a key-value pair from the map.
*
* @param key The key.
* @param value The value.
*/
void accept(long key, V value);
}