From 45bf365e9f6a244d6a93ddd197064906c3576d15 Mon Sep 17 00:00:00 2001 From: Kevin Glynn Date: Wed, 2 Mar 2011 21:42:53 +0100 Subject: [PATCH] Add a tranlsation for dictionaries --- .../Collections/Generic/Dictionary'2.xml | 126 ++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 CS2JLibrary/NetFramework/System/Collections/Generic/Dictionary'2.xml diff --git a/CS2JLibrary/NetFramework/System/Collections/Generic/Dictionary'2.xml b/CS2JLibrary/NetFramework/System/Collections/Generic/Dictionary'2.xml new file mode 100644 index 0000000..1962651 --- /dev/null +++ b/CS2JLibrary/NetFramework/System/Collections/Generic/Dictionary'2.xml @@ -0,0 +1,126 @@ + + + + + java.util.HashMap + + HashMap*[${K},${V}]* + System.Collections.Generic.Dictionary + + K + V + + + + + + + KeyValuePair*[K,V]* + ${expr}.entrySet() + + + + + ${this:16}.put(${key}, ${value}) + + + K + key + + + V + value + + + Add + System.Void + + + + ${this:16}.clear() + + Clear + System.Void + + + + ${this:16}.containsKey(${key}) + + + K + key + + + ContainsKey + System.Boolean + + + + ${this:16}.containsValue(${value}) + + + V + value + + + ContainsValue + System.Boolean + + + + ${this:16}.remove(${key}) + + + System.Object + key + + + Remove + + System.Boolean + + + + + + ${this:16}.size() + System.Int32 + Count + ${this:16}.size() + + + + + + + + + System.Object + key + + + V + ${this:16}.get(${key}) + ${this:16}.put(${key}, ${value}) + + + + + + new HashMap*[${K},${V}]*() + + + + + + + +