Package org.boris.xlloop.util

Examples of org.boris.xlloop.util.XLMap.toXloper()


            s.add("argumentHelp", c);
        }
        if (isVolatile)
            s.add("isVolatile", true);

        return s.toXloper();
    }
}
View Full Code Here


            subs.add(toXLoper(menu.getSubMenu(i)));
        }
        m.add("name", menu.getName());
        m.add("items", items);
        m.add("submenus", subs);
        return m.toXloper();
    }

    public static XLoper toXLoper(MenuItem item) {
        XLMap m = new XLMap();
        m.add("name", item.getName());
View Full Code Here

    }

    public static XLoper toXLoper(MenuItem item) {
        XLMap m = new XLMap();
        m.add("name", item.getName());
        return m.toXloper();
    }

    public static XLoper toXLoper(SubMenu menu) {
        XLMap m = new XLMap();
        XLList items = new XLList();
View Full Code Here

        m.add("name", menu.getName());
        if (menu.getPosition() != null)
            m.add("position", menu.getPosition());
        m.add("items", items);
        return m.toXloper();
    }
}
View Full Code Here

        }

        XLMap s = new XLMap();
        s.add("hello there", 123213);
        s.add("asdf", "woeiruewoir");
        return s.toXloper();
    }

    public boolean hasFunction(String name) {
        return true;
    }
View Full Code Here

        m.add("i1", 2343);
        m.add("sdf", 34.2);
        m.add("asdf", 4545345.454345345);
        m.add("as33", XLError.NAME);

        return m.toXloper();
    }

    public static double echo(double v) {
        return v;
    }
View Full Code Here

    public static XLoper mapTest() {
        XLMap s = new XLMap();
        s.add("test", 2);
        s.add("hello", 3);
        return s.toXloper();
    }

    public static XLArray makeRandoms(int rows, int cols) {
        XLArray xa = new XLArray(rows, cols);
        for (int i = 0; i < rows; i++) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.