吉安感知网项目-后端
zhongrj
2026-02-04 5438b42ec34668ecf07a5bbb0d2aa44015030131
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);
    }
}