What hapened when you tried to apply those λs? When you tried to compile rule.test(123) or r.accept(123) or x.apply(123, 46), what happened? Does that tell you about any difference? The difference turns out to have nothing to do with λs, so I shall move you to the general Java® forum.
There is no difference in the output that's correct but that may not mean those are equivalent statements as I have seen in many other cases in java so I wanted to verify my understanding weather they are equivalent or not.