How to use a method reference on a static import? – stackoverflow.com

When using map functions in java I can do the following: import com.example.MyClass; someStream.map(MyClass::myStaticMethod) but in my project we sometimes use static imports, how can I reference ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "How to use a method reference on a static import? – stackoverflow.com"