Uses of Interface
org.osgi.util.function.Consumer
-
-
Uses of Consumer in org.osgi.util.function
Methods in org.osgi.util.function that return Consumer Modifier and Type Method Description default Consumer<T>Consumer. andThen(Consumer<? super T> after)Compose the specifiedConsumerto be called after thisConsumer.static <T> Consumer<T>Consumer. asConsumer(java.util.function.Consumer<T> wrapped)Returns aConsumerwhich wraps ajava.util.function.Consumer.Methods in org.osgi.util.function with parameters of type Consumer Modifier and Type Method Description default Consumer<T>Consumer. andThen(Consumer<? super T> after)Compose the specifiedConsumerto be called after thisConsumer.static <T> java.util.function.Consumer<T>Consumer. asJavaConsumer(Consumer<T> wrapped)Returns ajava.util.function.Consumerwhich wraps the specifiedConsumerand throws any thrown exceptions.static <T> java.util.function.Consumer<T>Consumer. asJavaConsumerIgnoreException(Consumer<T> wrapped)Returns ajava.util.function.Consumerwhich wraps the specifiedConsumerand discards any thrownExceptions.
-