Class ConditionSorter

java.lang.Object
com.aquima.interactions.rule.impl.table.ConditionSorter

public final class ConditionSorter extends Object
This class will sort a condition array when needed so that the ELSE condition is always last.
Since:
5.1
Author:
O. Kerpershoek
  • Method Details

    • sort

      public static Condition[] sort(Condition[] conditions)
      This method sorts the array of conditions so the ELSE condition will always be last.
      Parameters:
      conditions - The array of conditions that should be sorted.
      Returns:
      Sorted array of conditions.