Skip to content

Instantly share code, notes, and snippets.

@jcsirot
Last active August 31, 2015 08:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcsirot/5411e85bc5dc726901c0 to your computer and use it in GitHub Desktop.
Save jcsirot/5411e85bc5dc726901c0 to your computer and use it in GitHub Desktop.
import java.util.function.*;
public class Test {
private final String s;
public Test(String s) {
this.s = s;
}
public Consumer<String> c = (x) -> System.out.println(x + "/" + s);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment