Hi All,

Dica: Sort it out.

Use the Comparable and Comparator interfaces to sort data in Java

Summary:

"A common requirement for applications that display lists or tables of data is the ability for users to sort those results. In this article, Alex Blewitt shows how to sort data in Java using the Comparable and Comparator interfaces, and how a generic bean-sorting utility sorts JavaBeans displayed in a graphical user interface (GUI)."

http://www.javaworld.com/javaworld/jw-12-2002/jw-1227-sort_p.html

Enjoy ... []´s

Spock



------------------------------ LISTA SOUJAVA ---------------------------- http://www.soujava.org.br - Sociedade de Usuários Java da Sucesu-SP dúvidas mais comuns: http://www.soujava.org.br/faq.htm
regras da lista: http://www.soujava.org.br/regras.htm
historico: http://www.mail-archive.com/java-list%40soujava.org.br
para sair da lista: envie email para [EMAIL PROTECTED] -------------------------------------------------------------------------

Responder a