Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Apache License 

public class Main {
    /**
     * Wrapper over newCachedThreadPool. Thread names are formatted as prefix-ID, where ID is a
     * unique, sequentially assigned integer.
     * @param prefix (undocumented)
     * @return (undocumented)
     */
    static public java.util.concurrent.ThreadPoolExecutor newDaemonCachedThreadPool(java.lang.String prefix) {
        throw new RuntimeException();
    }

    /**
     * Create a cached thread pool whose max number of threads is <code>maxThreadNumber</code>. Thread names
     * are formatted as prefix-ID, where ID is a unique, sequentially assigned integer.
     * @param prefix (undocumented)
     * @param maxThreadNumber (undocumented)
     * @param keepAliveSeconds (undocumented)
     * @return (undocumented)
     */
    static public java.util.concurrent.ThreadPoolExecutor newDaemonCachedThreadPool(java.lang.String prefix,
            int maxThreadNumber, int keepAliveSeconds) {
        throw new RuntimeException();
    }
}