Notifications
Announcements
public static void main(Args _args) { Map map = new Map (Types::Integer, Types::String); // inserting key and values map.insert (1,"A"); map.insert (1,"B"); map.insert (3,"C"); map.insert (4,"D"); map.insert (5,"F");
if (! map.empty ()) { Info(map.lookup(1)); // It will return B } }
Thanks,
Waed Ayyad
If this helped, please mark it as "Verified" for others facing the same issue
Map map = new Map(Types::Time, Types::String); map.insert(1*60, "x"); map.insert(2*60, "y"); MapEnumerator enumerator = map.getEnumerator(); while (enumerator.moveNext()) { info(strFmt("%1: %2", enumerator.currentKey(), enumerator.currentValue())); }
Hi,
Is your issue resolved? If yes, mark the answers that helped you as verified.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Abhilash Warrier 732 Super User 2025 Season 2
André Arnaud de Cal... 413 Super User 2025 Season 2
Martin Dráb 289 Most Valuable Professional