tag:blogger.com,1999:blog-1249179008376089851.post7793429129086175468..comments2023-08-13T17:46:47.008+02:00Comments on Riven :: code </> brain :: dump: Set :: binary operationsRivenhttp://www.blogger.com/profile/12170038557837985530noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-1249179008376089851.post-17375625137161582672010-01-27T14:39:52.485+01:002010-01-27T14:39:52.485+01:00Indeed. Got a little carried away there.Indeed. Got a little carried away there.Rivenhttps://www.blogger.com/profile/12170038557837985530noreply@blogger.comtag:blogger.com,1999:blog-1249179008376089851.post-14321082274739584612010-01-27T14:35:28.155+01:002010-01-27T14:35:28.155+01:00Why would your and method not just be
Set c = new...Why would your and method not just be<br /><br />Set c = new HashSet();<br />c.addAll(a);<br />c.retainAll(b);<br />return c;<br /><br />?Anonymousnoreply@blogger.com