--- jsr166/src/main/java/util/Queue.java 2015/12/01 06:59:28 1.43 +++ jsr166/src/main/java/util/Queue.java 2017/04/19 23:45:50 1.45 @@ -8,15 +8,14 @@ package java.util; /** * A collection designed for holding elements prior to processing. - * Besides basic {@link java.util.Collection Collection} operations, - * queues provide additional insertion, extraction, and inspection - * operations. Each of these methods exists in two forms: one throws - * an exception if the operation fails, the other returns a special - * value (either {@code null} or {@code false}, depending on the - * operation). The latter form of the insert operation is designed - * specifically for use with capacity-restricted {@code Queue} - * implementations; in most implementations, insert operations cannot - * fail. + * Besides basic {@link Collection} operations, queues provide + * additional insertion, extraction, and inspection operations. + * Each of these methods exists in two forms: one throws an exception + * if the operation fails, the other returns a special value (either + * {@code null} or {@code false}, depending on the operation). The + * latter form of the insert operation is designed specifically for + * use with capacity-restricted {@code Queue} implementations; in most + * implementations, insert operations cannot fail. * *
Insert | - *{@link Queue#add add(e)} | - *{@link Queue#offer offer(e)} | + *{@link #add(Object) add(e)} | + *{@link #offer(Object) offer(e)} | *
Remove | - *{@link Queue#remove remove()} | - *{@link Queue#poll poll()} | + *{@link #remove() remove()} | + *{@link #poll() poll()} | *
Examine | - *{@link Queue#element element()} | - *{@link Queue#peek peek()} | + *{@link #element() element()} | + *{@link #peek() peek()} | *
This interface is a member of the
*
* Java Collections Framework.
@@ -145,8 +143,8 @@ public interface Queue