|
My thoughts are the same. Create an interface that defines a method that the loop method will call 100 times. Then create a class for each method you want to loop that implements the interface. Then just call the loop method and pass in a different class each time.
|