Talk:Java collections framework

External links modified edit

Hello fellow Wikipedians,

I have just modified one external link on Java collections framework. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:

When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.

This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}} (last update: 18 January 2022).

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

Cheers.—InternetArchiveBot (Report bug) 23:35, 19 April 2017 (UTC)Reply

The "Stack" section is misleading edit

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. 128.237.187.136 (talk) 16:09, 24 November 2017 (UTC)Reply

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 edit

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 edit

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. — Preceding unsigned comment added by 132.64.34.178 (talk) 12:53, 27 June 2018 (UTC)Reply