Here you can find the source of sleepForSecs(double numSecs)
public static void sleepForSecs(double numSecs)
//package com.java2s; //License from project: Apache License public class Main { public static void sleepForSecs(double numSecs) { // give the elements time to be evicted try {/*from w w w. j a v a 2 s . c o m*/ Thread.sleep((long) (numSecs * 1000)); } catch (InterruptedException e) { } } }