swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Map question


From: Paul E Johnson
Subject: Re: Map question
Date: Sun, 22 Oct 2000 09:59:55 -0500

Ken Gosier wrote:
> 
> Possibly basic question about the Map class, in Obj-C:
> 
> The keys into a Map are objects of type id, as well as the values?
> 
> TIA--
I'm not sure I understand. A Map in which the key objects serve also as
the objects themselves is called a Set and it has a little different
interface.
Use Set if you want the object itself to serve as the key.  Map can have
any id as a key.

-- 
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ukans.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]