org.mmbase.bridge.jsp.taglib.util
Class ListSorter

java.lang.Object
  extended by org.mmbase.bridge.jsp.taglib.util.ListSorter

public class ListSorter
extends Object

A helper class for Lists, to implement an attribute 'comparator'

Since:
MMBase-1.7
Version:
$Id: ListSorter.java 41966 2010-04-20 09:40:17Z michiel $
Author:
Michiel Meeuwissen

Method Summary
static
<E extends Comparable<? super E>>
List<E>
sort(List<E> list, String comparator, ContextReferrerTag tag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

sort

public static <E extends Comparable<? super E>> List<E> sort(List<E> list,
                                                             String comparator,
                                                             ContextReferrerTag tag)
                                                  throws JspTagException
Throws:
JspTagException


MMBase 2.0-SNAPSHOT - null