no message
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m3s

This commit is contained in:
Armamem0t 2025-09-11 21:32:01 +08:00
parent 6b7555d727
commit 9d118ed98d
Signed by: minglipro
GPG Key ID: 5F355A77B22AA93B
2 changed files with 5 additions and 5 deletions

View File

@ -22,4 +22,4 @@
JDKVERSIONS=1.8
GROUPSID=com.mingliqiye.utils
ARTIFACTID=mingli-utils
VERSIONS=3.2.4
VERSIONS=3.2.5

View File

@ -25,13 +25,12 @@ package com.mingliqiye.utils.stream;
import com.mingliqiye.utils.collection.Lists;
import com.mingliqiye.utils.collection.Maps;
import com.mingliqiye.utils.stream.interfaces.Getable;
import lombok.val;
import org.jetbrains.annotations.NotNull;
import java.util.*;
import java.util.concurrent.ConcurrentMap;
import java.util.function.*;
import java.util.stream.*;
import lombok.val;
import org.jetbrains.annotations.NotNull;
/**
* 自定义的 SuperStream 实现类用于对集合进行流式操作
@ -296,8 +295,9 @@ public class SuperStream<T> implements Stream<T> {
*
* @param predicate 谓词函数
* @return SuperStream 实例
* @since 3.2.5
*/
public SuperStream<T> filter(Function<T, Boolean> predicate) {
public SuperStream<T> filterBoolean(Function<T, Boolean> predicate) {
return new SuperStream<>(stream.filter(predicate::apply));
}