This methods creates an object of type ValueHashTable from a List of InputGates and a List of corresponding values. The evaluations of the input gates at the values can be performed using the method value.
i1 : declareVariable X o1 = X o1 : InputGate |
i2 : declareVariable Y o2 = Y o2 : InputGate |
i3 : h = valueHashTable({X,Y},{1,ii}) o3 = ValueHashTable{...2...} o3 : ValueHashTable |
i4 : peek h o4 = ValueHashTable{X => 1 } Y => ii |
The object valueHashTable is a method function.