Interface VarMapping

    • Method Detail

      • get

        @Nullable
        Val get​(int symHandle)
        Gets the target of the var, or null if absent.
        Parameters:
        symHandle - the sym handle of the var.
        Returns:
        the target of the var, or null if absent.
      • has

        boolean has​(int symHandle)
        Returns true if the var mapping has the var, otherwise false.
        Parameters:
        symHandle - the sym handle of the var.
        Returns:
        true if the var mapping has the var, otherwise false.
      • symHandleSet

        Set<Integer> symHandleSet()
        Returns the set of the sym handles of the vars in this var mapping.
        Returns:
        the set of the sym handles of the vars in this var mapping.
      • of

        static VarMapping of​(Map<Integer,​Val> mapping)
        Returns a var mapping including entries of mapping.
        Parameters:
        mapping - the map of variables.
        Returns:
        a var mapping.