setObjectForKey in NSMutableDictionary in Java
setObjectForKey in NSMutableDictionary in Java
- Subject: setObjectForKey in NSMutableDictionary in Java
- From: John Spicer <email@hidden>
- Date: Thu, 30 Sep 2004 14:15:40 -0500
given an NSDictionary theDictionary;
and doing this:
Object a = new Object ();
Object b = new Object ();
theDictionary
.setObjectForKey(a, b);
why does the java compiler give this error:
<x-tad-smaller>Classes/theController.java:324: cannot resolve symbol
symbol : method setObjectForKey (java.lang.Object,java.lang.Object)
the objectForKey method works fine:
</x-tad-smaller>Integer sTag = (Integer) theDictionary.objectForKey("theKey"); _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden