What is the Java 8 functional interface for a method that takes nothing and returns nothing?
I.e., the equivalent to the C# parameterless Action
with void
return type?
If I understand correctly you want a functional interface with a method void m()
. In which case you can simply use a Runnable
.