当前页面:
在线文档首页 >
JBoss Seam 1.2.0 patch1 API 英文版文档
Sorter (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档
org.jboss.seam.util
Class Sorter<T>
java.lang.Object
org.jboss.seam.util.Sorter<T>
public abstract class Sorter<T>
- extends Object
Uses a brute force O(n^4) algorithm to discover an acceptable
order for partially ordered elements where the transitivity
of the ordering is not known in advance. Of course, this
should only be used to order small numbers of elements.
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sorter
public Sorter()
sort
public void sort(List<T> originalList)
isOrderViolated
protected abstract boolean isOrderViolated(T outside,
T inside)