Skip to content

Commit

Permalink
MethodProxy增加一些快速方法
Browse files Browse the repository at this point in the history
  • Loading branch information
leaderli committed Jul 10, 2024
1 parent 9022942 commit be57fe0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

public interface MethodProxy<T> {

MethodProxy<?> NONE = (m, args) -> null;
MethodProxy<?> NONE = of(null);

static <T> MethodProxy<T> of(T value) {
return (m, args) -> value;
Expand Down

0 comments on commit be57fe0

Please sign in to comment.