Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

functionality of consumer functional interface in java

@FunctionalInterface
public interface Consumer<T> {
    void accept(T t);
}
Source by zetcode.com #
 
PREVIOUS NEXT
Tagged: #functionality #consumer #functional #interface #java
ADD COMMENT
Topic
Name
6+1 =