package org.sxkj.common.func; import java.util.function.Supplier; @FunctionalInterface public interface TupleSupplier { T get(T1 t1, T2 t2); default Supplier toSupplier(T1 t1, T2 t2) { return () -> get(t1, t2); } }