Method isDaemon()
Return type: boolean
Member of:
java.lang.Thread
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
setDaemon(thread.isDaemon());
2
(t.isDaemon()?" Daemon":"") +
3
+ (tarray[i].isDaemon() ? "D " : " ")
4
if ( ( threads[i] != null ) && ( threads[i].isAlive() && ( !threads[i].isDaemon() ) ) )
5
sbuf.append(t[i].isDaemon());
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.