T
- type of the path rootV
- type of value being matchedpublic class PathComparator<T,V extends Comparable<V>> extends Object implements Comparator<T>
Constructor and Description |
---|
PathComparator(Path<V> comparingPath) |
PathComparator(Path<V> comparingPath,
com.google.common.base.Function<T,V> accessor) |
Modifier and Type | Method and Description |
---|---|
int |
compare(T leftBean,
T rightBean) |
static <T,V extends Comparable<V>> |
pathComparator(Path<V> comparingPath) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public static <T,V extends Comparable<V>> PathComparator<T,V> pathComparator(Path<V> comparingPath)
public int compare(T leftBean, T rightBean)
compare
in interface Comparator<T>
Copyright © 2007–2015 Mysema Ltd. All rights reserved.