Package org.kie.api.builder
Class ReleaseIdComparator
- java.lang.Object
-
- org.kie.api.builder.ReleaseIdComparator
-
- All Implemented Interfaces:
Comparator<ReleaseId>
public class ReleaseIdComparator extends Object implements Comparator<ReleaseId>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReleaseIdComparator.ComparableVersion
static class
ReleaseIdComparator.SortDirection
-
Constructor Summary
Constructors Constructor Description ReleaseIdComparator()
ReleaseIdComparator(ReleaseIdComparator.SortDirection sortDirection)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(ReleaseId o1, ReleaseId o2)
static ReleaseId
getEarliest(List<ReleaseId> releaseIds)
static ReleaseId
getLatest(List<ReleaseId> releaseIds)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Constructor Detail
-
ReleaseIdComparator
public ReleaseIdComparator()
-
ReleaseIdComparator
public ReleaseIdComparator(ReleaseIdComparator.SortDirection sortDirection)
-
-