Code example for Map

Methods: entrySet

0
    } 
    static public String getFunctionName(Function f) {
        return s_functionToName.get(f);
    } 
    static public Set<Entry<String, Function>> getFunctionMapping() {
        return s_nameToFunction.entrySet();
    } 
 
    static public Control getControl(String name) {
        return s_nameToControl.get(name);
    } 
    static public String getControlName(Control f) {
        return s_controlToName.get(f);
    } 
    static public Set<Entry<String, Control>> getControlMapping() {
        return s_nameToControl.entrySet();
    } 
 
    static public void registerFunction(String name, Function f) {
        s_nameToFunction.put(name, f);
        s_functionToName.put(f, name);