tag:blogger.com,1999:blog-100264002024-03-13T15:24:51.773+00:00blog buckettMatthew Bucketthttp://www.blogger.com/profile/15152807926093631820noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-10026400.post-31583255604053911182006-11-03T11:01:00.000+00:002006-12-12T14:05:29.055+00:00Sakai Site.equals()Took a little while to figure this one out but in Sakai the <code>org.sakaiproject.site.api.Site equals()</code> method will return true when passed a string if it matches the ID of the site. The reason they do this is so that they can save a list of site IDs and then have a collection of sites and call
<code>siteList.removeAll(stringList);</code>. This can be seen is action in the CharonPortal where is is used to hide sites that the user isn't interested in.Matthew Bucketthttp://www.blogger.com/profile/15152807926093631820noreply@blogger.com0