Esempio n. 1
0
		//
		// Exception audit:
		//
		//  Verdict
		//    No need to wrap thrown exceptions in a BCL class
		//
		//  Rationale
		//    `java.util.Map.keySet()` is not documented to throw any exceptions.
		//
		internal IntPtr GetKeys ()
		{
			if (id_keySet == IntPtr.Zero)
				id_keySet = JNIEnv.GetMethodID (map_class, "keySet", "()Ljava/util/Set;");
			return JNIEnv.CallObjectMethod (Handle, id_keySet);
		}
Esempio n. 2
0
		//
		// Exception audit:
		//
		//  Verdict
		//    No need to wrap thrown exceptions in a BCL class
		//
		//  Rationale
		//    `java.util.Map.values()` is not documented to throw any exceptions.
		//
		internal IntPtr GetValues ()
		{
			if (id_values == IntPtr.Zero)
				id_values = JNIEnv.GetMethodID (map_class, "values", "()Ljava/util/Collection;");
			return JNIEnv.CallObjectMethod (Handle, id_values);
		}