Class BindingHashMap

  • All Implemented Interfaces:
    Binding, BindingMap

    @Deprecated
    public class BindingHashMap
    extends BindingBase
    implements BindingMap
    Deprecated.
    Use BindingBuilder; avoid mutable bindings.
    A mutable mapping from a name to a value such that we can create a tree of levels with higher (earlier levels) being shared. Looking up a name is done by looking in the current level, then trying the parent is not found.
    • Constructor Detail

      • BindingHashMap

        public BindingHashMap​(Binding parent)
        Deprecated.
        Using BindingFactory.create is better
      • BindingHashMap

        public BindingHashMap()
        Deprecated.
        Using BindingFactory.create is better
    • Method Detail

      • vars1

        public java.util.Iterator<Var> vars1()
        Deprecated.
        Iterate over all the names of variables.
      • contains1

        public boolean contains1​(Var var)
        Deprecated.
      • get1

        public Node get1​(Var var)
        Deprecated.
      • add

        public final void add​(Var var,
                              Node node)
        Deprecated.
        Add a (var,value) - the node value is never null
        Specified by:
        add in interface BindingMap
      • addAll

        public final void addAll​(Binding other)
        Deprecated.
        Description copied from interface: BindingMap
        Add all the (var, value) pairs from another binding
        Specified by:
        addAll in interface BindingMap