Javac error (original) (raw)
Remi Forax forax at univ-mlv.fr
Mon Apr 1 03:01:22 PDT 2013
- Previous message: Javac error
- Next message: flatMap signature
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 04/01/2013 10:52 AM, Jose wrote:
Earlier builds would compile the code below, but now it fails.
How can I define static functions like this with the latest builds?
import java.util.function.Function; public interface Model { Function<Model, String> f=m->m.section().text(); Section section(); } class Section{ String text(){ return ""; } }
Can you post the error message ?
cheers, Rémi
- Previous message: Javac error
- Next message: flatMap signature
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]