Java streams example I forgot to add a long time ago