com.ihr.xbrl.om.formula.filters

## Interface XBRLFilterOrderTool

- All Superinterfaces:
    java.util.Comparator<XBRLFormulaFilter>
  All Known Implementing Classes:
    XBRLFilterOrderToolImpl, XBRLUserDefinedFilterOrderTool

      public interface XBRLFilterOrderTool
      extends java.util.Comparator<XBRLFormulaFilter>

  The Interface XBRLFilterOrderTool.
  Author:
    Ignacio

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(XBRLFormulaFilter o1, XBRLFormulaFilter o2)`
    `int` | `getFilterWeight(java.lang.Class<? extends XBRLFormulaFilter> clazz)` Computes a value that will be used to order filters used in the evaluation of a fact variable.

    - ### Methods inherited from interface java.util.Comparator

      `equals`

- - ### Method Detail

    - #### getFilterWeight

          int getFilterWeight(java.lang.Class<? extends XBRLFormulaFilter> clazz)

      Computes a value that will be used to order filters used in the evaluation of a fact variable.
      Parameters:
        `clazz` - the clazz
      Returns:
        the filter weight

    - #### compare

          int compare(XBRLFormulaFilter o1,
                    XBRLFormulaFilter o2)

      Specified by:
        `compare` in interface `java.util.Comparator<XBRLFormulaFilter>`