I’ve asked Josh Bloch, and he informs me that it was a mistake. He used to think, long ago, that there was some value in it, but he since “saw the light”. Clearly JDK maintainers haven’t considered this to be worth backing out later.
More Related Contents:
- What are the differences between a HashMap and a Hashtable in Java?
- What is the difference between "collection" ,"Collection" and "Collections"? [duplicate]
- Difference between
- Properly removing an Integer from a List
- How do I convert a Map to List in Java?
- Randomly select an item from a list
- Define a fixed-size list in Java
- What is the difference between an ordered and a sorted collection?
- Maximum size of HashSet, Vector, LinkedList
- Java – How to create new Entry (key, value)
- How to shuffle an ArrayList [duplicate]
- How can I generate a list or array of sequential integers in Java?
- Empty an ArrayList or just create a new one and let the old one be garbage collected? [duplicate]
- Removing items from a collection in java while iterating over it
- what’s a good persistent collections framework for use in java?
- Is there a way to get the value of a HashMap randomly in Java?
- Difference between a deprecated and a legacy API?
- Any implementation of Ordered Set in Java?
- JDK9 randomization on immutable sets and maps
- In what situations is the CopyOnWriteArrayList suitable? [duplicate]
- What Java 8 Stream.collect equivalents are available in the standard Kotlin library?
- Create a List of primitive int?
- Java collections covariance problem
- Comparing two hashmaps for equal values and same key sets?
- When should I return the Interface and when the concrete class?
- Storing different types of elements in a List in Java
- Are they any decent on-disk implementations of Java’s Map?
- Hashmap implementation to count the occurrences of each character
- Perform operation on n random distinct elements from Collection using Streams API
- Java 8 stream map to list of keys sorted by values