Interface BindingMap

  • All Superinterfaces:
    Binding
    All Known Implementing Classes:
    BindingHashMap

    @Deprecated
    public interface BindingMap
    extends Binding
    Deprecated.
    Use BindingBuilder; avoid mutable bindings.
    Bindings are immutable, and are equal-by-value, but they have to be constructed somehow and this interface captures that. Bindings should be created, then not changed, and returned as type "Binding".
    • Method Detail

      • add

        void add​(Var var,
                 Node node)
        Deprecated.
        Add a (var, value) pair - the value must not be null
      • addAll

        void addAll​(Binding other)
        Deprecated.
        Add all the (var, value) pairs from another binding