- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for accumulator (0.04 sec)
-
guava/src/com/google/common/collect/TopKSelector.java
import java.util.Arrays; import java.util.Comparator; import java.util.Iterator; import java.util.List; import java.util.stream.Stream; import org.jspecify.annotations.Nullable; /** * An accumulator that selects the "top" {@code k} elements added to it, relative to a provided * comparator. "Top" can mean the greatest or the lowest elements, specified in the factory used to * create the {@code TopKSelector} instance. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 11.4K bytes - Viewed (0)