Created
December 19, 2015 08:41
-
-
Save codeaholicguy/3361281c91c505333ae5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@FunctionalInterface | |
public interface BiFunction<T, U, R> { | |
R apply(T t, U u); | |
// some more default methods | |
} | |
@FunctionalInterface | |
public interface BinaryOperator extends BiFunction<T, T, T> { | |
// T apply(T t1, T t2); | |
// some more static methods | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment