All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.util.Timer Maven / Gradle / Ivy

The newest version!
package java.util;

public class Timer {
    public Timer() {}

    public void cancel() {}

    /**
     * @throws IllegalArgumentException 
     * @throws IllegalStateException
     */
    public void schedule(TimerTask task, long delay) {}

    /**
     * @throws IllegalArgumentException 
     * @throws IllegalStateException
     */
    public void schedule(TimerTask task, Date time) {}

    /**
     * @throws IllegalArgumentException 
     * @throws IllegalStateException
     */
    public void schedule(TimerTask task, long delay, long period) {}

    /**
     * @throws IllegalArgumentException 
     * @throws IllegalStateException
     */
    public void schedule(TimerTask task, Date firstTime, long period) {}

    /**
     * @throws IllegalArgumentException 
     * @throws IllegalStateException
     */
    public void scheduleAtFixedRate(TimerTask task, long delay, long period) {}

    /**
     * @throws IllegalArgumentException 
     * @throws IllegalStateException
     */
    public void scheduleAtFixedRate(TimerTask task, Date firstTime, long period) {}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy