The OrderedMap offers all methods of Map. Methods of Map with Map as the return value, return a OrderedMap for OrderedMaps. The method collect and keys return lists for OrderedMaps, because the keys of OrderedMaps have an order.
This functionality is only available for certain module packages.
The OrderedMap offers all methods of Map. Methods of Map with Map as the return value, return a OrderedMap for OrderedMaps. The method collect and keys return lists for OrderedMaps, because the keys of OrderedMaps have an order.