forked from External/mage
Functional interfaces should be annotated as functional interfaces
This commit is contained in:
parent
f1ef3bf68b
commit
752392fc46
22 changed files with 28 additions and 10 deletions
|
|
@ -30,6 +30,7 @@ package mage.util.functions;
|
|||
/**
|
||||
* @author nantuko
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface Function<X, Y> {
|
||||
X apply(Y in);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue