Package scala.runtime

Examples of scala.runtime.AbstractFunction0


        foo = TraitImpl.apply("foo");
    }

    @Test public void closureTest() {
        ClosureClass c = new ClosureClass();
        c.printResult(new AbstractFunction0() {
                public String apply() {
                    return "foo";
                }
            });
        c.printResult(new AbstractFunction1<String, String>() {
View Full Code Here

TOP

Related Classes of scala.runtime.AbstractFunction0

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.