Skip to content

Instantly share code, notes, and snippets.

@SocraticPhoenix
Created June 23, 2017 00:52
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 SocraticPhoenix/0d75145733f91018d7c9740fda3e42e7 to your computer and use it in GitHub Desktop.
Save SocraticPhoenix/0d75145733f91018d7c9740fda3e42e7 to your computer and use it in GitHub Desktop.
public class Test {
public static void main(String[] args) {
TriConsumer<List<Integer>, Integer, Integer> swap = Collections::swap;
}
public interface TriConsumer<A, B, C> {
void apply(A a, B b, C c);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment