I am using a random number in a switch case. So have something like:

```
public void something {
Random myRand = new Random();
int number = myRand.nextInt(10 - 1) + 1;
switch(number)
case 1:
     Do something and on completion go back and start running the something method again.
break:
case 1;
     Do something and on completion go back and start running the something method again.
break;

```

Each case statement could be run through any number of times depending on input from user, some may not even be used.

What I would like is something inside the case statement saying :-

```
public void something (run);

```

Is what I am trying to do possible or is there a better way?