-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathObservable.php
More file actions
113 lines (103 loc) Β· 4.02 KB
/
Observable.php
File metadata and controls
113 lines (103 loc) Β· 4.02 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?php
declare(strict_types=1);
namespace PHPJava\Packages\java\util;
use PHPJava\Exceptions\NotImplementedException;
use PHPJava\Packages\java\lang\Object_;
// use PHPJava\Packages\java\util\Observer;
/**
* The `Observable` class was auto generated.
*
* @parent \PHPJava\Packages\java\lang\Object_
*/
class Observable extends Object_ // implements Observer
{
/**
* Deprecated.Adds an observer to the set of observers for this object, provided that it is not the same as some observer already in the set.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#addObserver
* @param null|mixed $a
* @throws NotImplementedException
*/
public function addObserver($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Deprecated.Indicates that this object has no longer changed, or that it has already notified all of its observers of its most recent change, so that the hasChanged method will now return false.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#clearChanged
* @param null|mixed $a
* @throws NotImplementedException
*/
protected function clearChanged($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Deprecated.Returns the number of observers of this Observable object.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#countObservers
* @param null|mixed $a
* @throws NotImplementedException
*/
public function countObservers($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Deprecated.Deletes an observer from the set of observers of this object.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#deleteObserver
* @param null|mixed $a
* @throws NotImplementedException
*/
public function deleteObserver($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Deprecated.Clears the observer list so that this object no longer has any observers.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#deleteObservers
* @param null|mixed $a
* @throws NotImplementedException
*/
public function deleteObservers($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Deprecated.Tests if this object has changed.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#hasChanged
* @param null|mixed $a
* @throws NotImplementedException
*/
public function hasChanged($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Deprecated.If this object has changed, as indicated by the hasChanged method, then notify all of its observers and then call the clearChanged method to indicate that this object has no longer changed.
* Deprecated.If this object has changed, as indicated by the hasChanged method, then notify all of its observers and then call the clearChanged method to indicate that this object has no longer changed.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#notifyObservers
* @param null|mixed $a
* @throws NotImplementedException
*/
public function notifyObservers($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Deprecated.Marks this Observable object as having been changed; the hasChanged method will now return true.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#setChanged
* @param null|mixed $a
* @throws NotImplementedException
*/
protected function setChanged($a = null)
{
throw new NotImplementedException(__METHOD__);
}
}