Field MAX_PRIORITY
Field type: int
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
this.setPriority( Thread.MAX_PRIORITY );
2
setPriority(Thread.MAX_PRIORITY);
3
setPriority( MAX_PRIORITY );
4
return parseObject(Thread.MAX_PRIORITY - 1);
5
if (priority > Thread.MAX_PRIORITY)
6
if (priority < Thread.MIN_PRIORITY || priority > Thread.MAX_PRIORITY) {
7
this.thread.setPriority (Thread.MAX_PRIORITY) ;
8
", Maximum = " + Thread.MAX_PRIORITY + ").");
9
Thread.currentThread().setPriority( Thread.MAX_PRIORITY );
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.