Lambda Expression + Requirements to Java Classes and Interfaces
Felix Schmidt
schmidtfx at googlemail.com
Sun Dec 5 03:07:15 PST 2010
Everybody:
I want to explore the benefits of lambda expressions for our open source
software.
Here are some questions:
1. What are the basic requirements to a java object?
If I have such a abstract class
public abstract class AbstractClass {
public void testMethod() {
// do something here
}
public abstract void abstractMethod();
}
Is it possible to do something like:
AbstractClass class = #{System.out.println("abstract class")};
Or if this syntax is not valid, how could I modify either the
AbstractClass or the instantiation?
Thank you
felix
More information about the lambda-dev
mailing list