public class MetadataVersionComparator extends Object implements Comparator<ArtifactMetadata>
Constructor and Description |
---|
MetadataVersionComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(ArtifactMetadata v1,
ArtifactMetadata v2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(ArtifactMetadata v1, ArtifactMetadata v2)
compare
in interface Comparator<ArtifactMetadata>
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.