Class SelectizeCollectionUtils

java.lang.Object
org.broadleafcommerce.common.rule.SelectizeCollectionUtils

public class SelectizeCollectionUtils extends Object
CollectionUtils wrapper to support collection intersection methods needed for rule builder selectize components.

Any changes to this class should be approved by Jeff Fischer.

Author:
Elbert Bautista (elbertbautista)
  • Constructor Details

    • SelectizeCollectionUtils

      public SelectizeCollectionUtils()
  • Method Details

    • intersection

      public static Collection intersection(Object a, Object b)
      Important: The generic "Object" parameters for this utility class are included as a work around to a known, MVEL issue.

      Prior to this commit, this class had two "intersect" methods (see commit history).

      MVEL compiled expressions would sometimes be associated with the wrong method. This was difficult to produce and also to recreate.

      Any changes to this class should be approved by Jeff Fischer.