Package com.tinkerpop.pipes

Examples of com.tinkerpop.pipes.PipeFunction


     * @param method a single argument, static method that will be invoked for when PipeFunction.compute() is called
     * @return a PipeFunction based on the provided compute method
     */
    public static PipeFunction createPipeFunction(final Method method) {

        return new PipeFunction() {
            final Method m = method;

            public Object compute(final Object argument) {
                try {
                    return m.invoke(null, argument);
View Full Code Here

TOP

Related Classes of com.tinkerpop.pipes.PipeFunction

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.