Comment Comment by pure-awesome Luckily Java 8 introduced streams and functional interfaces - the latter of which is admittedly very object-oriented way of passing around functions. parent pure-awesome 6 years ago