Closures

From NovaOrdis Knowledge Base
Revision as of 20:24, 25 March 2018 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

Internal

Overview

A closure is an instance of a function that can reference non-local variables of that function with no restrictions. Java 8 lambda expression are different, in that they can only refer final local variables in the scope in which the lambda was declared.