Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #19691
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Enumset.contains |
| Date | 2012-11-10 16:56 -0800 |
| Organization | Canadian Mind Products |
| Message-ID | <rjtt98dc30lfkhvu0ar2ltd4tok3i51nap@4ax.com> (permalink) |
| References | <6btq9811qn454a7s9u4dka81qn6k6e2n56@4ax.com> <ag5i0kF13jmU1@mid.individual.net> |
On Sat, 10 Nov 2012 00:30:28 +0100, Robert Klemme <shortcutter@googlemail.com> wrote, quoted or indirectly quoted someone who said : >> intersection >retainAll() These are methods of AbstractSet inherited and in my opinion preposterously pedestrian. You might as well have used a TreeSet as an Enum. A proper intersection method for EnumSets would be implemented with a single AND machine instruction. Mathematicians have been using the term "intersection" for at least 100 years. I think it was improper of Sun/Oracle to rename the functions. -- Roedy Green Canadian Mind Products http://mindprod.com Ironically, even though the Internet was created by the US military [DARPA (Defense Advanced Research Projects Agency)] to withstand a nuclear attack, it is almost defenceless against malice from any of its users
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Enumset.contains Roedy Green <see_website@mindprod.com.invalid> - 2012-11-09 13:40 -0800
Re: Enumset.contains Lew <lewbloch@gmail.com> - 2012-11-09 15:07 -0800
Re: Enumset.contains Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2012-11-09 23:50 +0000
Re: Enumset.contains Robert Klemme <shortcutter@googlemail.com> - 2012-11-10 00:30 +0100
Re: Enumset.contains Roedy Green <see_website@mindprod.com.invalid> - 2012-11-10 16:56 -0800
Re: Enumset.contains markspace <-@.> - 2012-11-10 17:10 -0800
Re: Enumset.contains Joshua Cranmer <Pidgeot18@verizon.invalid> - 2012-11-10 20:38 -0600
csiph-web