Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

generic method lambda java

public interface GenericFunctionalInterface<T> {
  public T genericMethod();
}

GenericFunctionalInterface<String> gfi = () -> {return "sss";};
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #generic #method #lambda #java
ADD COMMENT
Topic
Name
6+6 =