public class ScoresheetWithValues<T,U> extends Scoresheet<T>
Modifier and Type | Field and Description |
---|---|
private FunctionalMap.Multimap<T,U> |
map |
Constructor and Description |
---|
ScoresheetWithValues(List<U> list,
com.google.common.base.Function<U,T> mapper) |
Modifier and Type | Method and Description |
---|---|
List<List<U>> |
multiValuesByTopCount()
Returns values by order of how many times their key appear.
|
List<org.apache.commons.lang3.tuple.Pair<U,Integer>> |
singleValuesByTopCount()
Returns values by order of how many times their key appear.
|
add, add, addAll, asSortedEntryList, clear, contains, containsAll, count, elementSet, entrySet, equals, forEach, hashCode, isEmpty, iterator, keysByTopCount, max, parallelStream, remove, remove, removeAll, removeIf, retainAll, setCount, setCount, size, spliterator, stream, toArray, toArray, toString
private FunctionalMap.Multimap<T,U> map
Copyright © 2022 Requirement Yogi. All rights reserved.