E
- the argument type of the action@FunctionalInterface public interface Action<E> extends java.util.function.Consumer<E>
Consumer
,
except that it allows for throwing exceptions, making it more appropriate for
encapsulating code blocks that may fail.Modifier and Type | Method and Description |
---|---|
default void |
accept(E t) |
void |
run(E arg) |
andThen
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.