Interface JexlArithmetic.SetBuilder

  • All Known Implementing Classes:
    SetBuilder
    Enclosing class:
    JexlArithmetic

    public static interface JexlArithmetic.SetBuilder
    Helper interface used when creating a set literal.

    The default implementation creates a java.util.HashSet.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void add​(java.lang.Object value)
      Adds a literal to the set.
      java.lang.Object create()
      Creates the actual "set" instance.
    • Method Detail

      • add

        void add​(java.lang.Object value)
        Adds a literal to the set.
        Parameters:
        value - the item to add
      • create

        java.lang.Object create()
        Creates the actual "set" instance.
        Returns:
        the set