Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static void join(Thread thread) {
        try {
            thread.join();
        } catch (InterruptedException inex) {
            // ignore
        }
    }

    public static void join(Thread thread, long millis) {
        try {
            thread.join(millis);
        } catch (InterruptedException inex) {
            // ignore
        }
    }

    public static void join(Thread thread, long millis, int nanos) {
        try {
            thread.join(millis, nanos);
        } catch (InterruptedException inex) {
            // ignore
        }
    }
}