Package org.boris.xlloop.util

Examples of org.boris.xlloop.util.XLList.toXLoper()


            StandardLispCons c = (StandardLispCons) value;
            XLList coll = new XLList();
            for (int i = 0; i < c.basic_length(); i++) {
                coll.add(makeResult(c.elt(i)));
            }
            return coll.toXLoper();
        } else if (value instanceof StandardLispNIL || value == null) {
            return XLNil.NIL;
        } else {
            return new XLString(registry.put(value));
        }
View Full Code Here


                fi.setCategory(category);
            }
            c.add(fi.encode());
        }

        return c.toXLoper();
    }

    public boolean hasFunction(String name) {
        return GET_FUNCTIONS.equals(name);
    }
View Full Code Here

    private int count;

    public XLoper execute(IFunctionContext context, String name, XLoper[] args) throws RequestException {
        XLList l = new XLList(args);
        l.add(++count);
        return l.toXLoper();
    }

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

            l.add(-1000);
            XLList p = new XLList();
            p.add(123.1213);
            p.add(234234.232);
            p.add(23.3333);
            l.add(p.toXLoper());
            return l.toXLoper();
        } else if (name.equals("Test222")) {
            XLList l = new XLList();
            l.add("m7EA7PaA3COwyuxoVk1YcVvANJjz0g");
            XLList n = new XLList();
View Full Code Here

            XLList l = new XLList();
            l.add("m7EA7PaA3COwyuxoVk1YcVvANJjz0g");
            XLList n = new XLList();
            n.add(XLNil.NIL);
            n.add(XLNil.NIL);
            l.add(n.toXLoper());
            l.add(363.51324173151755);
            l.add(false);
            return l.toXLoper();

        } else if (name.equals("MakeRandomString")) {
View Full Code Here

            er.add(i);
            er.add(i);
            er.add(i);
            er.add(i);
            er.add(i);
            XLoper v = re.execute("Echo", er.toXLoper().array);
            System.out.println(v);
        }
        System.out.println(System.currentTimeMillis() - t0);

        re.disconnect();
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.