February 2014
Beginner
1248 pages
62h 25m
English
• Stream method map (p. 747) maps each element to a new value and produces a new stream with the same number of elements as the original stream.
• A method reference (p. 747) is a shorthand notation for a lambda expression.
• ClassName::instanceMethodName represents a method reference for an instance method of a class. Creates a one-parameter lambda that invokes the instance method on the lambda’s argument and returns the method’s result.
• objectName::instanceMethodName represents a method reference for an instance method that should be called on a specific object. Creates a one-parameter lambda that invokes the instance method on the specified object—passing the lambda’s ...
Read now
Unlock full access