What purpose is served by the `SerializableFunction` interface defined in Vaadin 8 if we can simply pass a regular Lambda expression in its place?
问题 Vaadin 8 defines a functional interface, SerializableFunction. This interface appears in various places. For example, when defining a Converter for displaying non-textual types in a TextField such as a UUID. Binder.BindingBuilder<BEAN,TARGET>::withConverter(SerializableFunction<TARGET,NEWTARGET> toModel, SerializableFunction<NEWTARGET,TARGET> toPresentation) See class documentation. Example usage: binder .forField( this.idField ) .withConverter( text -> UUID.fromString( text ) , uuid -> uuid