Class LenghtLinkComparator

  • All Implemented Interfaces:
    java.util.Comparator<ALink>

    public class LenghtLinkComparator
    extends java.lang.Object
    implements java.util.Comparator<ALink>
    • Constructor Summary

      Constructors 
      Constructor Description
      LenghtLinkComparator​(java.util.Map<ANode,​java.lang.Integer> cols)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(ALink link1, ALink link2)  
      • 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

      • LenghtLinkComparator

        public LenghtLinkComparator​(java.util.Map<ANode,​java.lang.Integer> cols)
    • Method Detail

      • compare

        public int compare​(ALink link1,
                           ALink link2)
        Specified by:
        compare in interface java.util.Comparator<ALink>