org.codehaus.mojo.versions.utils
Class PropertyComparator
java.lang.Object
org.codehaus.mojo.versions.utils.PropertyComparator
- All Implemented Interfaces:
- Comparator
public class PropertyComparator
- extends Object
- implements Comparator
A comparator used to sort Property
instances.
- Since:
- 1.0-beta-1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyComparator
public PropertyComparator()
compare
public int compare(Object o1,
Object o2)
- Compares to
Property
instances.
- Specified by:
compare
in interface Comparator
- Parameters:
o1
- the first objecto2
- the second object.
- Returns:
- the comparison result
- Since:
- 1.0-beta-1
- See Also:
Comparator.compare(Object, Object)
Copyright © 2008-2011 Codehaus. All Rights Reserved.