Content deleted Content added
(8 intermediate revisions by 3 users not shown) | |||
Line 1:
{{WikiProject
{{WikiProject Java|importance=mid|auto=yes}} {{WikiProject Computing
}}
== External links modified ==
Line 18 ⟶ 20:
The Stack and Vector classes are not part of the Collections framework. They are legacy, from Java 1.0, and should not be used in new code. Suggest removing this section, or clarifying that these classes are _not_ to be used. [[Special:Contributions/128.237.187.136|128.237.187.136]] ([[User talk:128.237.187.136|talk]]) 16:09, 24 November 2017 (UTC)
Towards the end of this section, it states
''"The usual push and pop operations are provided, as well as a method to peek at the top item on the stack, a method to test for whether the stack is empty, and a method to search the stack for an item and discover how far it is from the top."''
It would be helpful to specify what these methods are.
== Queue Interfaces ==
The sections states: ''"But it also has the Queue methods"''. Again, I think it would be helpful to specify what these methods are.
Also: The description of blocking queue is unclear. It states, very unhelpfully that additions and removals are "blocking"(???). This is not an explanation at all.
== Figure of the Map class and interface hierarchy is incorrect ==
Line 23 ⟶ 36:
There is an issue in the figure of the java.util.Map class and interface hierarchy.
NavigableMap and SortedMap are interfaces and should be marked with yellow circle rather than blue rectangle.
This is misleading because it make you think that TreeMap may inherit from two classes, which is impossible in Java. <!-- Template:Unsigned IP --><small class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/132.64.34.178|132.64.34.178]] ([[User talk:132.64.34.178#top|talk]]) 12:53, 27 June 2018 (UTC)</small> <!--Autosigned by SineBot-->
:I fixed this issue. [[User:Manuels World|Manuels World]] ([[User talk:Manuels World|talk]]) 15:53, 30 November 2024 (UTC)
|