Skip to content

Commit 5765b34

Browse files
committed
Javadocs
1 parent aa2b710 commit 5765b34

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lucene/core/src/java/org/apache/lucene/util/FloatComparator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
@FunctionalInterface
2323
public interface FloatComparator {
2424

25+
/** Represents a function that returns a {@code float} result */
2526
@FunctionalInterface
2627
interface ToFloatFunction<T> {
2728
float applyAsFloat(T obj);

lucene/core/src/java/org/apache/lucene/util/PriorityQueue.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
*/
3838
public abstract class PriorityQueue<T> implements Iterable<T> {
3939

40+
/** Represents a {@code <} operation, which is less prescriptive than {@link Comparator} */
4041
@FunctionalInterface
4142
public interface LessThan<T> {
4243
boolean lessThan(T a, T b);

0 commit comments

Comments
 (0)