Class ElementComparatorByAttribute

java.lang.Object
com.strategyquant.lib.ElementComparatorByAttribute
All Implemented Interfaces:
Comparator<org.jdom2.Element>

public class ElementComparatorByAttribute extends Object implements Comparator<org.jdom2.Element>
  • Constructor Details

    • ElementComparatorByAttribute

      public ElementComparatorByAttribute(String attributeName)
  • Method Details

    • compare

      public int compare(org.jdom2.Element el1, org.jdom2.Element el2)
      Specified by:
      compare in interface Comparator<org.jdom2.Element>