JexlArithmetic.SetBuilder (Apache Commons JEXL 3.7.0 API)
Description: declaration: package: org.apache.commons.jexl3, class: JexlArithmetic, interface: SetBuilder

Package org.apache.commons.jexl3

# Interface JexlArithmetic.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

  Modifier and Type
  Method
  Description
  `void`
  `add(Object value)`
  Adds a literal to the set.
  `Object`
  `create()`
  Creates the actual "set" instance.

- ## Method Details

  - ### add

    void add(Object value)
    Adds a literal to the set.
    Parameters:
      `value` - the item to add

  - ### create

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