org.apache.velocity.tools.generic
Class SortTool.PropertiesComparator
java.lang.Object
org.apache.velocity.tools.generic.SortTool.PropertiesComparator
- All Implemented Interfaces:
- Serializable, Comparator
- Enclosing class:
- SortTool
public static class SortTool.PropertiesComparator
- extends Object
- implements Comparator, Serializable
Does all of the comparisons
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_ASCENDING_SHORT
public static final String TYPE_ASCENDING_SHORT
- See Also:
- Constant Field Values
TYPE_DESCENDING_SHORT
public static final String TYPE_DESCENDING_SHORT
- See Also:
- Constant Field Values
SortTool.PropertiesComparator
public SortTool.PropertiesComparator(List props)
compare
public int compare(Object lhs,
Object rhs)
- Specified by:
compare
in interface Comparator
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.