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

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

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -