• Post Reply Bookmark Topic Watch Topic
  • New Topic

java.util.function package  RSS feed

 
Bharat Savani
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java 8 supports the "->" lambda operator. To use lambda operator we need to make sure that the interface is of SAM type. That is Single Abstract Method for example Comparator<T>, Comparable<T>, Runnable, etc.
Read about all such interfaces added in java 8 under java.util.function package.
Read about it here http://data-structure-learning.blogspot.com/p/javautilfunction-package.html
 
Campbell Ritchie
Marshal
Posts: 56525
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!