RFR: JDK-8297605 DelayQueue javadoc is confusing

Martin Buchholz martin at openjdk.org
Tue Mar 7 03:57:16 UTC 2023


On Thu, 2 Mar 2023 15:59:33 GMT, Martin Buchholz <martin at openjdk.org> wrote:

> Right. But remove(Object) unlike remove() doesn't consider the expiration time. Confusing!

Actually, confusion extends to **three** methods with the same name:
- `Queue.remove()`
- `Collection.remove(Object)`
- `Iterator.remove()`

-------------

PR: https://git.openjdk.org/jdk/pull/12729


More information about the core-libs-dev mailing list