Uses of Class
org.springframework.amqp.utils.JavaUtils
Packages that use JavaUtils
-
Uses of JavaUtils in org.springframework.amqp.utils
Fields in org.springframework.amqp.utils declared as JavaUtilsModifier and TypeFieldDescriptionstatic final JavaUtilsJavaUtils.INSTANCEThe singleton instance of this utility class.Methods in org.springframework.amqp.utils that return JavaUtilsModifier and TypeMethodDescription<T1,T2> JavaUtils JavaUtils.acceptIfCondition(boolean condition, T1 t1, T2 t2, BiConsumer<T1, T2> consumer) InvokeBiConsumer.accept(Object, Object)with the arguments if the condition is true.<T> JavaUtilsJavaUtils.acceptIfCondition(boolean condition, T value, Consumer<T> consumer) InvokeConsumer.accept(Object)with the value if the condition is true.JavaUtils.acceptIfHasText(String value, Consumer<String> consumer) InvokeConsumer.accept(Object)with the value if it is not null or empty.<T> JavaUtilsJavaUtils.acceptIfHasText(T t1, String value, BiConsumer<T, String> consumer) InvokeBiConsumer.accept(Object, Object)with the arguments if the value argument is not null or empty.<T1,T2> JavaUtils JavaUtils.acceptIfNotNull(T1 t1, T2 t2, BiConsumer<T1, T2> consumer) InvokeBiConsumer.accept(Object, Object)with the arguments if the t2 argument is not null.<T> JavaUtilsJavaUtils.acceptIfNotNull(T value, Consumer<T> consumer) InvokeConsumer.accept(Object)with the value if it is not null.