/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This source file is part of SableVM classlib-stubs. * * * * See the file "LICENSE" for the copyright information and for * * the terms and conditions for copying, distribution and * * modification of this source file. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ package java.lang; public class ThreadGroup extends Object implements Thread.UncaughtExceptionHandler { public ThreadGroup(String name) { } public ThreadGroup(ThreadGroup parent, String name) { } native public final String getName(); native public final ThreadGroup getParent(); native public final int getMaxPriority(); native public final boolean isDaemon(); native public boolean isDestroyed(); native public final void setDaemon(boolean daemon); native public final void setMaxPriority(int pri); native public final boolean parentOf(ThreadGroup g); native public final void checkAccess(); native public int activeCount(); native public int enumerate(Thread[] list); native public int enumerate(Thread[] list, boolean recurse); native public int activeGroupCount(); native public int enumerate(ThreadGroup[] list); native public int enumerate(ThreadGroup[] list, boolean recurse); @Deprecated native public final void stop(); native public final void interrupt(); @Deprecated native public final void suspend(); @Deprecated native public final void resume(); native public final void destroy(); native public void list(); native public void uncaughtException(Thread t, Throwable e); @Deprecated native public boolean allowThreadSuspension(boolean b); native public String toString(); }