public class ModuleUtil extends Object
Constructor and Description |
---|
ModuleUtil() |
Modifier and Type | Method and Description |
---|---|
static <T,U,R> R |
callWhenHasJavaSql(BiFunction<T,U,R> callable,
T t,
U u) |
static <T> T |
callWhenHasJavaSql(Callable<T> callable) |
static <ARG,T> T |
callWhenHasJavaSql(Function<ARG,T> callable,
ARG arg) |
public static <T> T callWhenHasJavaSql(Callable<T> callable)
public static <ARG,T> T callWhenHasJavaSql(Function<ARG,T> callable, ARG arg)
public static <T,U,R> R callWhenHasJavaSql(BiFunction<T,U,R> callable, T t, U u)
Copyright © 2012–2022 Alibaba Group. All rights reserved.