Or as GoToLoop has already posted for the faint hearted see Function as argument of another function, but the update to jdk8 syntax is somewhat overdue.
Or as GoToLoop has already posted for the faint hearted see Function as argument of another function, but the update to jdk8 syntax is somewhat overdue.