src/main/java/me/codeboy/common/base/time/CBTimeWait.java
public static void waitTime(long millis, int nanos) {
        try {
            Thread.sleep(millis, nanos);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
public static void waitTime(long millis, int nanos) {
        try {
            Thread.sleep(millis, nanos);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
public static void waitTime ( long millis , int nanos ) { try { Thread . sleep ( millis , nanos ) ; } catch ( InterruptedException e ) { e . printStackTrace ( ) ; } }
等待

@param millis millis
@param nanos  nanos
等待