-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathState.php
More file actions
60 lines (50 loc) · 1.77 KB
/
State.php
File metadata and controls
60 lines (50 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
declare(strict_types=1);
namespace PHPJava\Packages\java\lang\Thread;
use PHPJava\Exceptions\NotImplementedException;
use PHPJava\Packages\java\lang\Enum;
// use PHPJava\Packages\java\io\Serializable;
// use PHPJava\Packages\java\lang\Comparable;
/**
* The `State` class was auto generated.
*
* @parent \PHPJava\Packages\java\lang\Object_
* @parent \PHPJava\Packages\java\lang\Enum
*/
class State extends Enum // implements Serializable, Comparable
{
// Thread state for a thread blocked waiting for a monitor lock.
const BLOCKED = 'BLOCKED';
// Thread state for a thread which has not yet started.
const _NEW = '_NEW';
// Thread state for a runnable thread.
const RUNNABLE = 'RUNNABLE';
// Thread state for a terminated thread.
const TERMINATED = 'TERMINATED';
// Thread state for a waiting thread with a specified waiting time.
const TIMED_WAITING = 'TIMED_WAITING';
// Thread state for a waiting thread.
const WAITING = 'WAITING';
/**
* Returns the enum constant of this type with the specified name.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/package-summary.html#valueOf
* @param null|mixed $a
* @throws NotImplementedException
*/
public static function static_valueOf($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns an array containing the constants of this enum type, inthe order they are declared.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/package-summary.html#values
* @param null|mixed $a
* @throws NotImplementedException
*/
public static function static_values($a = null)
{
throw new NotImplementedException(__METHOD__);
}
}