Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!ecngs!feeder.ecngs.de!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 28 Feb 2012 09:27:11 -0600 From: Leif Roar Moldskred Subject: Re: lookup by EnumSet Newsgroups: comp.lang.java.programmer References: <3kmpk7lno3fehkr0o21b4dqvhoijmpehbq@4ax.com> User-Agent: tin/2.0.0-20110823 ("Ardenistiel") (UNIX) (Linux/3.0.0-16-generic-pae (i686)) Message-ID: Date: Tue, 28 Feb 2012 09:27:11 -0600 Lines: 14 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-dRDTLmaS7dRFp50Ey9RGCf/zUrN3DS3i/PnN1efwmum95H41DWbVEv9K5Nr4gbkKFdFID+eGlnbkiDw!lApfxLBWJ4AGFpMB+1wN9wdbG7ouSz2Xu+fyPnPExGaSPX68lOZ2Iv451MPaij93t/Opyuj/hpE= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1479 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:12493 Roedy Green wrote: > > I wondered how you would do it. I would put the data in a database and use SQL for the queries. Proven, and even more importantly, commonly understood technology that pretty much any Tom, Dick or Harry could maintain. If, for some reason, I actually had to implement the functionality in Java, my approach would vary depending on how complex the queries would be allowed to be. -- Leif Roar Moldskred