@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
equals
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-2015 Atlassian. All Rights Reserved.