public class FileSortingComparator<T extends IdentityType> extends Object implements Comparator<T>
Constructor and Description |
---|
FileSortingComparator(IdentityQuery<T> identityQuery) |
Modifier and Type | Method and Description |
---|---|
int |
compare(T o1,
T o2) |
protected int |
sortByQueryParameter(QueryParameter queryParameter,
T o1,
T o2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public FileSortingComparator(IdentityQuery<T> identityQuery)
public int compare(T o1, T o2)
compare
in interface Comparator<T extends IdentityType>
protected int sortByQueryParameter(QueryParameter queryParameter, T o1, T o2)
Copyright © 2018 JBoss by Red Hat. All rights reserved.