No-reuse-streams (original) (raw)
Paul Sandoz paul.sandoz at oracle.com
Fri Nov 23 05:16:00 PST 2012
- Previous message: No-reuse-streams
- Next message: No-reuse-streams
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Nov 23, 2012, at 12:52 PM, Remi Forax <forax at univ-mlv.fr> wrote:
Should the following throw an ISE on the last line of the following? Stream s = .. Object i1 = s.findFirst(); Stream s1 = s.map(...); i.e. should we fail on the s.map(...) or just when a terminal operation occurs, if at all? it should fail of s.map(...) fail early or fail earlier.
I agree.
Paul.
- Previous message: No-reuse-streams
- Next message: No-reuse-streams
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the lambda-libs-spec-observers mailing list