com.google.code.jetm.maven.util
Class AggregateComparator
java.lang.Object
com.google.code.jetm.maven.util.AggregateComparator
- All Implemented Interfaces:
- Serializable, Comparator<etm.core.aggregation.Aggregate>
public class AggregateComparator
- extends Object
- implements Comparator<etm.core.aggregation.Aggregate>, Serializable
A Comparator
that compares two Aggregate
objects by their Aggregate.getName()
; it will first do a case-insensitive comparison and, if the yields the same result, will return
the case-sensitive comparison of their two names.
- Author:
- jrh3k5
- See Also:
- Serialized Form
Method Summary |
int |
compare(etm.core.aggregation.Aggregate o1,
etm.core.aggregation.Aggregate o2)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggregateComparator
public AggregateComparator()
compare
public int compare(etm.core.aggregation.Aggregate o1,
etm.core.aggregation.Aggregate o2)
-
- Specified by:
compare
in interface Comparator<etm.core.aggregation.Aggregate>
Copyright © 2011. All Rights Reserved.