File tree 1 file changed +3
-3
lines changed
src/java.base/share/classes/java/util
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 141
141
* <p>Deques can also be used as LIFO (Last-In-First-Out) stacks. This
142
142
* interface should be used in preference to the legacy {@link Stack} class.
143
143
* When a deque is used as a stack, elements are pushed and popped from the
144
- * beginning of the deque. Stack methods are precisely equivalent to
145
- * {@code Deque} methods as indicated in the table below:
144
+ * beginning of the deque. Stack methods are equivalent to {@code Deque}
145
+ * methods as indicated in the table below:
146
146
*
147
147
* <table class="striped">
148
148
* <caption>Comparison of Stack and Deque methods</caption>
163
163
* </tr>
164
164
* <tr>
165
165
* <th scope="row">{@link #peek() peek()}</th>
166
- * <td>{@link #peekFirst () peekFirst ()}</td>
166
+ * <td>{@link #getFirst () getFirst ()}</td>
167
167
* </tr>
168
168
* </tbody>
169
169
* </table>
You can’t perform that action at this time.
0 commit comments