?? Consumer<T>
- ????:
T
- The type of the function input.
- ????:
- ????????, ????? lambda ??????????????
A function that accepts a single argument and produces no result.
This is a functional interface and can be used as the assignment target for a lambda expression or method reference.
- ???????:
- 1.1
-
????
-
??????
-
accept
Applies this function to the specified argument.- ??:
t
- The input to this function.- ??:
Exception
- An exception thrown by the method.
-