java se 8 impatient solutions