Spliterator update (original) (raw)

Brian Goetz brian.goetz at oracle.com
Wed Dec 26 14:55:01 PST 2012


After some offline discussions with Doug, we agreed that the getNaturalSplits method can be eliminated completely (rather than replaced with an isSplittable as suggested), and instead renaming split() as trySplit() which would be allowed to return null if the data source was not splittable. This eliminates the need to spec (and check) interactions between isSplittable and subsequent calls to split. This has been committed to lambda repo.



More information about the lambda-libs-spec-experts mailing list