Default method survey results
Rémi Forax
forax at univ-mlv.fr
Fri Aug 17 13:50:35 PDT 2012
On 08/17/2012 09:38 PM, Zhong Yu wrote:
> Another thing, remove() is a stateful operation, it depends on a prev
> next() call. If the caller invokes remove() without a prev next(), we
> should ideally throw IllegalStateException, regardless whether the
> operation is supported. I'm just saying; it's not a big deal either
> way.
>
No, it works the other way around, see the javadoc.
Rémi
More information about the lambda-dev
mailing list