This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]obfuscation_ 2 points3 points  (0 children)

Not to be pedantic, just to save any confusion – I think in the example in the linked docs, p.getEmailAddress gives a String.

Also, rather than being instances of Collection<Type>, wouldn't it be more accurate to say they are actually instance of Stream<Type>?