Oh, sry It seems I have misunderstood this part ;)
Unfortunatly there is no commonway to retrieve the counter of it. But I suggest something like this:
not very elegant but maybe a bit more efficient in the end incomparisonwith iterating through the whole map to get the counter.
Unfortunatly there is no commonway to retrieve the counter of it. But I suggest something like this:
Type TCountTMap Field Map:TMap = New TMap Field _count:Int = 0 Method Insert(Key:Object , Value:Object) MapInsert(Map , KEy , Value) _count:+ 1 End Method . . . Method Count:Int() Return _count End Method End Type
not very elegant but maybe a bit more efficient in the end incomparisonwith iterating through the whole map to get the counter.