Re: SplObjectStorage
| From: | Marcus Boerger | Date: | Fri, 27 Jan 2006 18:10:50 +0000 |
| Subject: | Re: SplObjectStorage | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-21708@lists.php.net to get a copy of this message | ||
Hello Jeff,
yes, it is a conainer and not a set. And it cannot take anything other
than php objects. That's why.
Friday, January 27, 2006, 5:37:09 PM, you wrote:
> SplObjectStorage:
> "This container allows to store objects uniquly without the need to
> compare them one by one."
> Unless I'm mistaken, in Java and Mathematics, this is called a Set.
> "A collection that contains no duplicate elements."
> Is there some reason not to name the class for the general concept? Is
> there a reason to limit this class to object members?
> Best Regards,
> Jeff Moore
Best regards,
Marcus