Content deleted Content added
→Queue implementations: Add brief note. |
→Map interfaces: Add ConcurrentMap section |
||
Line 227:
=====NavigableMap interface=====
The '''{{Javadoc|module=java.base|package=java.util|class=NavigableMap|monotype=y}}''' interface extends <code>java.util.SortedMap</code> in various ways. Methods can be called that find the key or map entry that's closest to the given key in either direction. The map can also be reversed, and an iterator in reverse order can be generated from it. It's implemented by <code>java.util.TreeMap</code>.<ref>{{cite web|url=http://docs.oracle.com/javase/7/docs/api/java/util/NavigableMap.html |title=NavigableMap (Java Platform SE 7 ) |publisher=Docs.oracle.com |date=2013-06-06 |access-date=2013-08-16}}</ref>
====ConcurrentMap interface====
{{main article|Java ConcurrentMap}}
The '''{{Javadoc|module=java.base|package=java.util.concurrent|class=ConcurrentMap|monotype=y}}''' interface extends the <code>java.util.Map</code> interface. This interface a thread Safe {{java|Map}} interface, introduced as of Java programming language's [[Java Collections Framework]] version 1.5.{{sfn|Goetz|Peierls|Bloch|Bowbeer|2006|loc=§5.2 Concurrent collections|pp=84-85}}
==Extensions to the Java collections framework==
|