Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.example.foo;
- import java.io.Serializable;
- import java.util.function.Function;
- public class SomeClass {
- public static void main(final String... args) {
- final Function<Integer, String> f;
- f = (Function<Integer, String> & Serializable) (v) -> "value: " + v;
- // Autosuggest not working here!
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement