public final class FunctionsEx extends Object
Modifier and Type | Method and Description |
---|---|
static <T extends Consumer<Object> & BiConsumer<Object,Object> & Consumer3<Object,Object,Object> & Consumer4<Object,Object,Object,Object> & Consumer5<Object,Object,Object,Object,Object> & Consumer6<Object,Object,Object,Object,Object,Object> & Consumer7<Object,Object,Object,Object,Object,Object,Object> & Consumer8<Object,Object,Object,Object,Object,Object,Object,Object> & Consumer9<Object,Object,Object,Object,Object,Object,Object,Object,Object>> |
emptyConsumer()
Returns a Consumer1-9 shared instance that ignores the argument(s) of its
accept() methods. |
public static <T extends Consumer<Object> & BiConsumer<Object,Object> & Consumer3<Object,Object,Object> & Consumer4<Object,Object,Object,Object> & Consumer5<Object,Object,Object,Object,Object> & Consumer6<Object,Object,Object,Object,Object,Object> & Consumer7<Object,Object,Object,Object,Object,Object,Object> & Consumer8<Object,Object,Object,Object,Object,Object,Object,Object> & Consumer9<Object,Object,Object,Object,Object,Object,Object,Object,Object>> T emptyConsumer()
accept()
methods.T
- the combined types of Consumer 1-9.