Java to Xojo ("map<>" = Xojo "pair"?)

Hi,

I’m looking forward to translate a Java Library to Xojo. Is “map<>” the same like “Pair” or is it a “Dictionary” (i think “List” ist the same like Dictionary).

And, how to translate this into Xojo?

TimeZone tz = TimeZone.getDefault(); Calendar cal = GregorianCalendar.getInstance(tz); int offsetInMillis = tz.getOffset(cal.getTimeInMillis());

Greetings

Map in C++ is the same as Xojo dictionary.

[quote=157106:@Martin Trippensee]Hi,

I’m looking forward to translate a Java Library to Xojo. Is “map<>” the same like “Pair” or is it a “Dictionary” (i think “List” ist the same like Dictionary).

And, how to translate this into Xojo?

TimeZone tz = TimeZone.getDefault(); Calendar cal = GregorianCalendar.getInstance(tz); int offsetInMillis = tz.getOffset(cal.getTimeInMillis());

Greetings[/quote]

This looks terribly much like a dictionary : http://www.easywayserver.com/blog/java-map-example/