Java is not a functional language, but sometimes it plays one on TV.