|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.model.VersionComparator
public class VersionComparator
A simple Comparator that compares Version instances and ignores their classifier. Does not handle nulls.
Constructor Summary | |
---|---|
VersionComparator()
|
Method Summary | |
---|---|
int |
compare(Version v1,
Version v2)
|
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 |
Constructor Detail |
---|
public VersionComparator()
Method Detail |
---|
public int compare(Version v1, Version v2)
compare
in interface java.util.Comparator<Version>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |