org.sakaiproject.entitybroker.util.request
Class RequestUtils.ShortestStringLastComparator
java.lang.Object
org.sakaiproject.entitybroker.util.request.RequestUtils.ShortestStringLastComparator
- All Implemented Interfaces:
- Serializable, Comparator<String>
- Enclosing class:
- RequestUtils
public static class RequestUtils.ShortestStringLastComparator
- extends Object
- implements Comparator<String>, Serializable
Comparator which puts the longest strings first and the shortest last
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
RequestUtils.ShortestStringLastComparator
public RequestUtils.ShortestStringLastComparator()
compare
public int compare(String o1,
String o2)
- Specified by:
compare in interface Comparator<String>
Copyright © 2007-2012 CARET, University of Cambridge. All Rights Reserved.