dimanche 8 octobre 2017

Is there some Java equivalent of javaScripts **new Function([arg1[, arg2[, ...argN]],] functionBody)**

I want to create a function at run time in JAVA.
I want some thing like java Scripts equivalent of:

new Function([arg1[, arg2[, ...argN]],] functionBody)

So the user can specify function as a string, and thereafter can invoke it using the required parameters.





Aucun commentaire:

Enregistrer un commentaire