Package ariba.util.fieldvalue

Examples of ariba.util.fieldvalue.OrderedList.elements()


            return false;
        }

        OrderedList listInterface = OrderedList.get(v2);

        for (Iterator e = listInterface.elements(v2); e.hasNext();) {
            Object      o = e.next();

            if ( equal(v1, o) ) {
                return true;
            }
View Full Code Here


    protected Object getValueBody( ExprContext context, Object source ) throws ExprException
    {
        // Eventually we need to generalize to apply via classextension...
        Node                expr = children[0];
        OrderedList listInterface = OrderedList.get(source);
        Iterator e = listInterface.elements(source);

        if (methodName.equals("collect")) return collect(e, expr, context, source);
        else if (methodName.equals("findAll")) return findAll(e, expr, context, source);
        else if (methodName.equals("find")) return find(e, expr, context, source);
        else if (methodName.equals("sum")) return sum(e, expr, context, source);
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.