张磊磊
2023-10-30 453cb085510eafdcb6bd78377432076ee45a9e77
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.thhy.general.config.mysql.tos;
 
import org.apache.commons.lang3.StringUtils;
 
import java.util.function.Predicate;
 
public final class Predicates {
 
 
    public static Predicate<String> alwaysFalse() {
        Predicate<String> predicate = new Predicate<String>() {
            @Override
            public boolean test(String s) {
                return StringUtils.isEmpty(s)?false:true;
            }
        };
        return predicate;
    }
}