Class NaryTree.NodeComparator<T>

java.lang.Object
repast.simphony.util.collections.NaryTree.NodeComparator<T>
All Implemented Interfaces:
Comparator<NaryTree<T>.repast.simphony.util.collections.NaryTree.Node<T>>
Enclosing class:
NaryTree<T>

protected class NaryTree.NodeComparator<T> extends Object implements Comparator<NaryTree<T>.repast.simphony.util.collections.NaryTree.Node<T>>
  • Constructor Details

    • NodeComparator

      public NodeComparator(Comparator<T> comp)
  • Method Details

    • compare

      public int compare(NaryTree<T>.repast.simphony.util.collections.NaryTree.Node<T> o1, NaryTree<T>.repast.simphony.util.collections.NaryTree.Node<T> o2)
      Specified by:
      compare in interface Comparator<T>