Here you can find the source of second(long second)
public static void second(long second)
//package com.java2s; //License from project: Apache License import java.util.concurrent.TimeUnit; public class Main { public static void second(long second) { try {/* ww w.j a v a 2s. c o m*/ TimeUnit.SECONDS.sleep(second); } catch (InterruptedException e) { e.printStackTrace(); } } }