Package org.eclipse.rdf4j.query

## Interface MutableBindingSet

- All Superinterfaces:
    `BindingSet`, `Iterable<Binding>`, `Serializable`
  All Known Implementing Classes:
    `ArrayBindingSet`, `MapBindingSet`, `QueryBindingSet`

      public interface MutableBindingSet
      extends BindingSet

  A BindingSet is a set of named value bindings, which is used a.o. to represent a single query solution. Values are indexed by name of the binding which typically corresponds to the names of the variables used in the projection of the orginal query.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `default void` | `addBinding​(String name, Value value)` | Adds a binding to the binding set.
    `void` | `addBinding​(Binding binding)` | Adds a binding to the binding set.
    `void` | `setBinding​(String name, Value value)` |
    `void` | `setBinding​(Binding binding)` |

    - ### Methods inherited from interface org.eclipse.rdf4j.query.BindingSet

      `equals, getBinding, getBindingNames, getValue, hasBinding, hashCode, isEmpty, iterator, size`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, spliterator`

- - ### Method Detail

    - #### addBinding

          default void addBinding​(String name,
                                  Value value)

      Adds a binding to the binding set.
      Parameters:
        `name` - The binding's name.
        `value` - The binding's value.

    - #### addBinding

          void addBinding​(Binding binding)

      Adds a binding to the binding set.
      Parameters:
        `binding` - The binding to add to the binding set.

    - #### setBinding

          void setBinding​(String name,
                          Value value)

    - #### setBinding

          void setBinding​(Binding binding)