@PublicApi public class OfBizStringFieldComparator extends Object implements Comparator<org.ofbiz.core.entity.GenericValue>
Note that the comparison is case insensitive, and orders null at the end.
Constructor and Description |
---|
OfBizStringFieldComparator(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 OfBizStringFieldComparator(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-2017 Atlassian. All Rights Reserved.