[jdom-interest] Sorting getChildren ?
jhunter at collab.net
Thu Feb 8 16:24:59 PST 2001
Omar Bazavilvazo wrote:
> well, a silly question, how can i sort a List of Elements (lElms) into
> ascending order?
> Collections.sort(List) throws a exception...
Collections.sort(List, Comparator) because Element doesn't naturally
implement Comparable. That's probably what the exception you got was
Would have been better if you'd included the exception. Notice the FAQ
entry on how to submit bugs and ask questions. One guideline is *give
More information about the jdom-interest