Return type of trySplit of Spliterator

Venkat Subramaniam venkats at agiledeveloper.com
Thu Dec 27 15:40:11 PST 2012


Hi

I like the change of the method name from split to trySplit. Wonder if it would be
better for the return type to be Optional<Spliterator<T>> instead of Spliterator<T>?

Thanks,

Venkat


More information about the lambda-dev mailing list