Package repast.simphony.util.collections
Class NaryTree.NodeComparator<T>
- java.lang.Object
-
- repast.simphony.util.collections.NaryTree.NodeComparator<T>
-
- All Implemented Interfaces:
Comparator<repast.simphony.util.collections.NaryTree.Node<T>>
protected class NaryTree.NodeComparator<T> extends Object implements Comparator<repast.simphony.util.collections.NaryTree.Node<T>>
-
-
Constructor Summary
Constructors Constructor Description NodeComparator(Comparator<T> comp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(repast.simphony.util.collections.NaryTree.Node<T> o1, repast.simphony.util.collections.NaryTree.Node<T> o2)
-
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
-
NodeComparator
public NodeComparator(Comparator<T> comp)
-
-
Method Detail
-
compare
public int compare(repast.simphony.util.collections.NaryTree.Node<T> o1, repast.simphony.util.collections.NaryTree.Node<T> o2)
- Specified by:
compare
in interfaceComparator<T>
-
-