本文整理匯總了TypeScript中ice.Ice.HashMap類的典型用法代碼示例。如果您正苦於以下問題:TypeScript Ice.HashMap類的具體用法?TypeScript Ice.HashMap怎麽用?TypeScript Ice.HashMap使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
在下文中一共展示了Ice.HashMap類的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。
示例1: opMyStructMyEnumD
opMyStructMyEnumD(p1:Test.MyStructMyEnumD,
p2:Test.MyStructMyEnumD, current:Ice.Current):[Test.MyStructMyEnumD, Test.MyStructMyEnumD]
{
const r = new Ice.HashMap(p1);
p2.forEach((value, key) => r.set(key, value));
return [r, p1];
}
示例2: opLongLongSD
opLongLongSD(p1:Test.LongLongSD, p2:Test.LongLongSD, current:Ice.Current):[Test.LongLongSD, Test.LongLongSD]
{
const r = new Ice.HashMap(p1);
p2.forEach((value, key) => r.set(key, value));
const p3 = new Ice.HashMap(p2);
return [r, p3];
}
示例3: opLongFloatD
opLongFloatD(p1:Test.LongFloatD, p2:Test.LongFloatD, current:Ice.Current):[Test.LongFloatD, Test.LongFloatD]
{
const r = new Ice.HashMap(p1);
p2.forEach((value, key) => r.set(key, value));
return [r, p1];
}
示例4:
p2.forEach((value, key) => r.set(key, value));