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
Post a Comment