PackageNameComparator.java |
1 /** 2 * 3 */ 4 package com.stateofflow.eclipse.metrics.location.comparator; 5 6 import com.stateofflow.eclipse.metrics.location.MetricLocation; 7 8 public final class PackageNameComparator extends LocationComparator { 9 protected int compareParticular(final MetricLocation l1, final MetricLocation l2) { 10 return l1.getPackageName().compareTo(l2.getPackageName()); 11 } 12 }