Class NaryTree.NodeComparator<T>

  • All Implemented Interfaces:
    Comparator<repast.simphony.util.collections.NaryTree.Node<T>>
    Enclosing class:
    NaryTree<T>

    protected class NaryTree.NodeComparator<T>
    extends Object
    implements Comparator<repast.simphony.util.collections.NaryTree.Node<T>>
    • 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 interface Comparator<T>