Path: csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: Enumset.contains Date: Sat, 10 Nov 2012 17:10:06 -0800 Organization: A noiseless patient Spider Lines: 19 Message-ID: References: <6btq9811qn454a7s9u4dka81qn6k6e2n56@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 11 Nov 2012 01:10:08 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="61282af8d6595e8d991edb5ac03d6e00"; logging-data="14826"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+C2uHxVH/bM/JdbQG3xeIw7x4sd372wH8=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 In-Reply-To: Cancel-Lock: sha1:Gb3l/s25RzWFm8qE7p9XVroeaio= Xref: csiph.com comp.lang.java.programmer:19692 On 11/10/2012 4:56 PM, Roedy Green wrote: > A proper intersection method for EnumSets would be implemented > with a single AND machine instruction. > Have you checked the source code, Roedy? > Mathematicians have been using the term "intersection" for at least > 100 years. I think it was improper of Sun/Oracle to rename the > functions. > Maybe. Maybe Sun was just checking who could read the docs.