吉安感知网项目-后端
xiebin
2026-01-06 d207a86cdf1ab52ef8cb7cd83bad8fceab8038cf
1
2
3
4
5
6
7
8
9
10
11
12
13
package org.sxkj.common.func;
 
import java.util.function.Supplier;
 
@FunctionalInterface
public interface BiSupplier<T, T1> {
 
    T get(T1 t1);
 
    default Supplier<T> toSupplier(T1 t1) {
        return () -> get(t1);
    }
}