Package org.apache.jetspeed.profiler

Examples of org.apache.jetspeed.profiler.ProfileLocatorProperty


        if (last >= 0)
        {
            // generate properties list to return
            List elements = locator.getElements();
            properties = new ProfileLocatorProperty[last+1];
            ProfileLocatorProperty lastElement = null;
            Iterator it = elements.listIterator();
            for (int count = 0; (count <= last) && it.hasNext(); count++)
            {
                lastElement = (ProfileLocatorProperty)it.next();
                properties[count] = lastElement;
            }

            // modify iterator state based on fallback type;
            // performed here to prevent multiple calls to
            // hasNext() from changing iterator state
            state = lastElement.getFallbackType();
            last--;
        }

        return properties;
    }
View Full Code Here


        if (last >= 0)
        {
            // generate properties list to return
            List elements = locator.getElements();
            properties = new ProfileLocatorProperty[last+1];
            ProfileLocatorProperty lastElement = null;
            Iterator it = elements.listIterator();
            for (int count = 0; (count <= last) && it.hasNext(); count++)
            {
                lastElement = (ProfileLocatorProperty)it.next();
                properties[count] = lastElement;
            }

            // modify iterator state based on fallback type;
            // performed here to prevent multiple calls to
            // hasNext() from changing iterator state
            state = lastElement.getFallbackType();
            last--;
        }

        return properties;
    }
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.profiler.ProfileLocatorProperty

Copyright © 2018 www.massapicom. 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.