java - Pass method's parameters to another method within? -



java - Pass method's parameters to another method within? -

i have next code:

public boolean oncommand(commandsender sender, command cmd, string commandlabel, string[] args) { // stuff }

i want able this:

public boolean oncommand(commandsender sender, command cmd, string commandlabel, string[] args) { somemethod(sameparameters); }

how do this? can provide example?

not wanted how:

public boolean oncommand(commandsender sender, command cmd, string commandlabel, string[] args) { somemethod(sender, cmd, commandlabel, args); }

java multithreading methods parameters arguments

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - cuda, pycuda -- how to write complex numbers -- errors:class "cuComplex" has no member "i" -

How do I check if an insert was successful with MySQLdb in Python? -