From: Martijn Tonies Date: August 1 2008 12:29pm Subject: Re: SET vs. ENUM List-Archive: http://lists.mysql.com/mysql/213955 Message-Id: <015b01c8f3d2$38f5be50$9902a8c0@martijnws> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit > Hello Jerry and Martijn > > sets contains an iterator so you can iterate thru the objects > also supports the contains method set.contains("new String("foo")) > http://www.docjar.com/docs/api/java/util/Set.html > > Enums must use the exact index and are generally use for fixed constant > Array > http://java.sun.com/j2se/1.5.0/docs/guide/language/enums.html I fail to see what this has to do with MySQL? Martijn Tonies Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle & MS SQL Server Upscene Productions http://www.upscene.com My thoughts: http://blog.upscene.com/martijn/ Database development questions? Check the forum! http://www.databasedevelopmentforum.com