|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.mercury.metadata.ClassicDepthComparator
public class ClassicDepthComparator
classical depth comparator: shallower is better by default, but that could be changed by appropriate constructor
| Constructor Summary | |
|---|---|
ClassicDepthComparator()
|
|
ClassicDepthComparator(boolean closerBetter)
|
|
| 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 ClassicDepthComparator()
public ClassicDepthComparator(boolean closerBetter)
| 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 | |||||||||