Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static void executeRunnable(Runnable runnable) {
- runnable.run();
- }
- @Override
- protected void execute() {
- executeRunnable(new Runnable() {
- @Override
- public void run() {
- PrimeNumber.calculate();
- }
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement