com.atlassian.jira.sharing.search
Class GenericValueComparator
java.lang.Object
com.atlassian.jira.sharing.search.GenericValueComparator
- All Implemented Interfaces:
- java.util.Comparator<org.ofbiz.core.entity.GenericValue>
public class GenericValueComparator
- extends java.lang.Object
- implements java.util.Comparator<org.ofbiz.core.entity.GenericValue>
A comparator that gets a value from a GenericValue and then delegates
comparison to either natural order or a specified delegate
- Since:
- v3.13
Method Summary |
int |
compare(org.ofbiz.core.entity.GenericValue o1,
org.ofbiz.core.entity.GenericValue o2)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
equals |
GenericValueComparator
public GenericValueComparator(java.lang.String field)
GenericValueComparator
public GenericValueComparator(java.lang.String field,
java.util.Comparator<java.lang.Object> delegate)
compare
public int compare(org.ofbiz.core.entity.GenericValue o1,
org.ofbiz.core.entity.GenericValue o2)
- Specified by:
compare
in interface java.util.Comparator<org.ofbiz.core.entity.GenericValue>
Copyright © 2002-2010 Atlassian. All Rights Reserved.