8354111: JavaDoc states that Iterator.remove() is linear in the LinkedBlockingDeque

Reviewed-by: liach, smarks
This commit is contained in:
Dr Heinz M. Kabutz 2025-04-15 02:48:32 +00:00 committed by Chen Liang
parent 92e52fe1df
commit c7b70a138f

View File

@ -61,8 +61,8 @@ import java.util.function.Predicate;
* blocking). Exceptions include {@link #remove(Object) remove},
* {@link #removeFirstOccurrence removeFirstOccurrence}, {@link
* #removeLastOccurrence removeLastOccurrence}, {@link #contains
* contains}, {@link #iterator iterator.remove()}, and the bulk
* operations, all of which run in linear time.
* contains}, and the bulk operations, all of which run in linear
* time.
*
* <p>This class and its iterator implement all of the <em>optional</em>
* methods of the {@link Collection} and {@link Iterator} interfaces.