T - type of the path rootV - type of value being matchedpublic class PathComparator<T,V extends java.lang.Comparable<V>>
extends java.lang.Object
implements java.util.Comparator<T>
| Constructor and Description |
|---|
PathComparator(Path<V> comparingPath) |
PathComparator(Path<V> comparingPath,
java.util.function.Function<T,V> accessor) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T leftBean,
T rightBean) |
static <T,V extends java.lang.Comparable<V>> |
pathComparator(Path<V> comparingPath) |
public static <T,V extends java.lang.Comparable<V>> PathComparator<T,V> pathComparator(Path<V> comparingPath)
Copyright © 2007–2021 Querydsl. All rights reserved.