Sample that shows how Spark works with internal Java collections