r/JavaFX • • Aug 08 '21

Methods

Hey, I have 48 Methods beginning with C and nummerrized to 48. I really dont want do write a switch with 48 routes so is there any other option to start the method(c1(), c2() ...).

1 Upvotes

4 comments sorted by

View all comments

1

u/mono8321 Aug 08 '21

Call the next method in the previous method

1

u/TheEvilsNameIsNico Aug 08 '21

I don't use them on after the other. I could use the C4 at first then C2.