public class OfBizDateFieldComparator extends Object implements Comparator<org.ofbiz.core.entity.GenericValue>
Note that this Comparator orders null at the end.
Constructor and Description |
---|
OfBizDateFieldComparator(String fieldName) |
Modifier and Type | Method and Description |
---|---|
int |
compare(org.ofbiz.core.entity.GenericValue gv1,
org.ofbiz.core.entity.GenericValue gv2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public OfBizDateFieldComparator(String fieldName)
public int compare(org.ofbiz.core.entity.GenericValue gv1, org.ofbiz.core.entity.GenericValue gv2)
compare
in interface Comparator<org.ofbiz.core.entity.GenericValue>
Copyright © 2002-2021 Atlassian. All Rights Reserved.