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