Class LocalVariableMap

  • All Implemented Interfaces:

    public class LocalVariableMap
    extends Object
    implements Cloneable
    Replaces HashMap⟨String, Data⟩ as the table of variable names and references. No longer supports global consistency.
    • Constructor Detail

      • LocalVariableMap

        public LocalVariableMap()
    • Method Detail

      • get

        public Data get​(String name)
        Retrieves the data object given its name.
        name - the variable name for the data object
        the direct reference to the data object
      • put

        public void put​(String name,
                        Data val)
        Adds a new (name, value) pair to the variable map, or replaces an old pair with the same name. Several different variable names may refer to the same value.
        name - the variable name for the data value
        val - the data value object (such as envelope)
      • removeAll

        public void removeAll()
      • removeAllIn

        public void removeAllIn​(Set<String> excludeList)
      • removeAllNotIn

        public void removeAllNotIn​(Set<String> excludeList)
      • hasReferences

        public boolean hasReferences​(Data d)
      • setRegisteredOutputs

        public void setRegisteredOutputs​(HashSet<String> outputs)
      • getRegisteredOutputs

        public HashSet<String> getRegisteredOutputs()
      • getPinnedDataSize

        public double getPinnedDataSize()
      • countPinnedData

        public long countPinnedData()
      • releasePinnedData

        public void releasePinnedData()
      • serialize

        public String serialize()
      • clone

        public Object clone()