Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

Inserting to map - without sort

$
0
0

Hello,

On Dynamics AX 2009 I want to add to map object an element.

When I doing this, i.e

Map m = new Map(Types::Integer, Types::String);

m.insert(2, "aaa");

m.insert(1, "bbb");

I want to scan it as the order I inserted.

When I do scan through MapENumerator I realized that "bbb" comes before "aaa".

This issue is overhead time consuming, and I a fast (time consuming) solution.

Is there any other object I can use, that I can scan squentialy.

Thanks :)


Viewing all articles
Browse latest Browse all 73760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>