mp 服务可正常启动

This commit is contained in:
YunaiV
2023-07-27 23:11:06 +08:00
parent 9a18483482
commit 0ff2f9783d
19 changed files with 659 additions and 6 deletions

View File

@@ -164,7 +164,7 @@ public class CollectionUtils {
return from.stream().filter(predicate).findFirst().orElse(null);
}
public static <T, V extends Comparable<? super V>> V getMaxValue(List<T> from, Function<T, V> valueFunc) {
public static <T, V extends Comparable<? super V>> V getMaxValue(Collection<T> from, Function<T, V> valueFunc) {
if (CollUtil.isEmpty(from)) {
return null;
}