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++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

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