Package me.qoomon.gitversioning.commons
Class TagComparator
java.lang.Object
me.qoomon.gitversioning.commons.TagComparator
- All Implemented Interfaces:
Comparator<org.eclipse.jgit.lib.Ref>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(org.eclipse.jgit.lib.Ref ref1, org.eclipse.jgit.lib.Ref ref2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
TagComparator
public TagComparator(org.eclipse.jgit.lib.Repository repository)
-
-
Method Details
-
compare
public int compare(org.eclipse.jgit.lib.Ref ref1, org.eclipse.jgit.lib.Ref ref2) - Specified by:
comparein interfaceComparator<org.eclipse.jgit.lib.Ref>
-