Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @FunctionalInterface
- public MyInterface {
- default boolean authorize(String value) {
- return true;
- }
- }
- @FunctionalInterface
- interface MyInterface {
- boolean authorize(int val);
- default boolean authorize(String value) {
- return true;
- }
- }
- @FunctionalInterface
- interface MyInterface {
- default boolean authorize(String value) {
- return true;
- }
- boolean equals(Object o);
- }
- @FunctionalInterface
- public interface MyInterface {
- static MyInterface DEFAULT = s->true;
- boolean authorize(String value);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement