|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.mercury.metadata.ClassicVersionComparator
public class ClassicVersionComparator
classical version comparator: newer is better by default, but that could be changed by appropriate constructor
| Constructor Summary | |
|---|---|
ClassicVersionComparator()
|
|
ClassicVersionComparator(boolean newerBetter)
|
|
| Method Summary | |
|---|---|
int |
compare(MetadataTreeNode n1,
MetadataTreeNode n2)
|
| 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 ClassicVersionComparator()
public ClassicVersionComparator(boolean newerBetter)
| Method Detail |
|---|
public int compare(MetadataTreeNode n1,
MetadataTreeNode n2)
compare in interface java.util.Comparator<MetadataTreeNode>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||