-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathVarHandle.php
More file actions
508 lines (465 loc) Β· 21.9 KB
/
VarHandle.php
File metadata and controls
508 lines (465 loc) Β· 21.9 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
<?php
declare(strict_types=1);
namespace PHPJava\Packages\java\lang\invoke;
use PHPJava\Exceptions\NotImplementedException;
use PHPJava\Packages\java\lang\Object_;
// use PHPJava\Packages\java\util\_List;
/**
* The `VarHandle` class was auto generated.
*
* @parent \PHPJava\Packages\java\lang\Object_
*/
class VarHandle extends Object_ // implements _List
{
/**
* Obtains the access mode type for this VarHandle and a given access mode.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#accessModeType
* @param null|mixed $a
* @throws NotImplementedException
*/
public function accessModeType($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Ensures that loads before the fence will not be reordered with loads and stores after the fence.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#acquireFence
* @param null|mixed $a
* @throws NotImplementedException
*/
public static function acquireFence($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Atomically sets the value of a variable to the newValue with the memory semantics of setVolatile(java.lang.Object...) if the variable's current value, referred to as the witness value, == the expectedValue, as accessed with the memory semantics of getVolatile(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#compareAndExchange
* @param null|mixed $a
* @throws NotImplementedException
*/
public function compareAndExchange($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Atomically sets the value of a variable to the newValue with the memory semantics of set(java.lang.Object...) if the variable's current value, referred to as the witness value, == the expectedValue, as accessed with the memory semantics of getAcquire(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#compareAndExchangeAcquire
* @param null|mixed $a
* @throws NotImplementedException
*/
public function compareAndExchangeAcquire($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Atomically sets the value of a variable to the newValue with the memory semantics of setRelease(java.lang.Object...) if the variable's current value, referred to as the witness value, == the expectedValue, as accessed with the memory semantics of get(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#compareAndExchangeRelease
* @param null|mixed $a
* @throws NotImplementedException
*/
public function compareAndExchangeRelease($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Atomically sets the value of a variable to the newValue with the memory semantics of setVolatile(java.lang.Object...) if the variable's current value, referred to as the witness value, == the expectedValue, as accessed with the memory semantics of getVolatile(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#compareAndSet
* @param null|mixed $a
* @throws NotImplementedException
*/
public function compareAndSet($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the coordinate types for this VarHandle.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#coordinateTypes
* @param null|mixed $a
* @throws NotImplementedException
*/
public function coordinateTypes($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Ensures that loads and stores before the fence will not be reordered with loads and stores after the fence.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#fullFence
* @param null|mixed $a
* @throws NotImplementedException
*/
public static function fullFence($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the value of a variable, with memory semantics of reading as if the variable was declared non-volatile.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#get
* @param null|mixed $a
* @throws NotImplementedException
*/
public function get($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the value of a variable, and ensures that subsequent loads and stores are not reordered before this access.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#getAcquire
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getAcquire($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Atomically adds the value to the current value of a variable with the memory semantics of setVolatile(java.lang.Object...), and returns the variable's previous value, as accessed with the memory semantics of getVolatile(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#getAndAdd
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getAndAdd($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Atomically adds the value to the current value of a variable with the memory semantics of set(java.lang.Object...), and returns the variable's previous value, as accessed with the memory semantics of getAcquire(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#getAndAddAcquire
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getAndAddAcquire($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Atomically adds the value to the current value of a variable with the memory semantics of setRelease(java.lang.Object...), and returns the variable's previous value, as accessed with the memory semantics of get(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#getAndAddRelease
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getAndAddRelease($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Atomically sets the value of a variable to the result of bitwise AND between the variable's current value and the mask with the memory semantics of setVolatile(java.lang.Object...) and returns the variable's previous value, as accessed with the memory semantics of getVolatile(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#getAndBitwiseAnd
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getAndBitwiseAnd($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Atomically sets the value of a variable to the result of bitwise AND between the variable's current value and the mask with the memory semantics of set(java.lang.Object...) and returns the variable's previous value, as accessed with the memory semantics of getAcquire(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#getAndBitwiseAndAcquire
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getAndBitwiseAndAcquire($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Atomically sets the value of a variable to the result of bitwise AND between the variable's current value and the mask with the memory semantics of setRelease(java.lang.Object...) and returns the variable's previous value, as accessed with the memory semantics of get(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#getAndBitwiseAndRelease
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getAndBitwiseAndRelease($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Atomically sets the value of a variable to the result of bitwise OR between the variable's current value and the mask with the memory semantics of setVolatile(java.lang.Object...) and returns the variable's previous value, as accessed with the memory semantics of getVolatile(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#getAndBitwiseOr
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getAndBitwiseOr($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Atomically sets the value of a variable to the result of bitwise OR between the variable's current value and the mask with the memory semantics of set(java.lang.Object...) and returns the variable's previous value, as accessed with the memory semantics of getAcquire(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#getAndBitwiseOrAcquire
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getAndBitwiseOrAcquire($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Atomically sets the value of a variable to the result of bitwise OR between the variable's current value and the mask with the memory semantics of setRelease(java.lang.Object...) and returns the variable's previous value, as accessed with the memory semantics of get(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#getAndBitwiseOrRelease
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getAndBitwiseOrRelease($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Atomically sets the value of a variable to the result of bitwise XOR between the variable's current value and the mask with the memory semantics of setVolatile(java.lang.Object...) and returns the variable's previous value, as accessed with the memory semantics of getVolatile(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#getAndBitwiseXor
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getAndBitwiseXor($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Atomically sets the value of a variable to the result of bitwise XOR between the variable's current value and the mask with the memory semantics of set(java.lang.Object...) and returns the variable's previous value, as accessed with the memory semantics of getAcquire(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#getAndBitwiseXorAcquire
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getAndBitwiseXorAcquire($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Atomically sets the value of a variable to the result of bitwise XOR between the variable's current value and the mask with the memory semantics of setRelease(java.lang.Object...) and returns the variable's previous value, as accessed with the memory semantics of get(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#getAndBitwiseXorRelease
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getAndBitwiseXorRelease($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Atomically sets the value of a variable to the newValue with the memory semantics of setVolatile(java.lang.Object...) and returns the variable's previous value, as accessed with the memory semantics of getVolatile(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#getAndSet
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getAndSet($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Atomically sets the value of a variable to the newValue with the memory semantics of set(java.lang.Object...) and returns the variable's previous value, as accessed with the memory semantics of getAcquire(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#getAndSetAcquire
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getAndSetAcquire($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Atomically sets the value of a variable to the newValue with the memory semantics of setRelease(java.lang.Object...) and returns the variable's previous value, as accessed with the memory semantics of get(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#getAndSetRelease
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getAndSetRelease($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the value of a variable, accessed in program order, but with no assurance of memory ordering effects with respect to other threads.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#getOpaque
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getOpaque($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the value of a variable, with memory semantics of reading as if the variable was declared volatile.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#getVolatile
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getVolatile($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns true if the given access mode is supported, otherwise false.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#isAccessModeSupported
* @param null|mixed $a
* @throws NotImplementedException
*/
public function isAccessModeSupported($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Ensures that loads before the fence will not be reordered with loads after the fence.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#loadLoadFence
* @param null|mixed $a
* @throws NotImplementedException
*/
public static function loadLoadFence($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Ensures that loads and stores before the fence will not be reordered with stores after the fence.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#releaseFence
* @param null|mixed $a
* @throws NotImplementedException
*/
public static function releaseFence($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Sets the value of a variable to the newValue, with memory semantics of setting as if the variable was declared non-volatile and non-final.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#set
* @param null|mixed $a
* @throws NotImplementedException
*/
public function set($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Sets the value of a variable to the newValue, in program order, but with no assurance of memory ordering effects with respect to other threads.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#setOpaque
* @param null|mixed $a
* @throws NotImplementedException
*/
public function setOpaque($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Sets the value of a variable to the newValue, and ensures that prior loads and stores are not reordered after this access.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#setRelease
* @param null|mixed $a
* @throws NotImplementedException
*/
public function setRelease($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Sets the value of a variable to the newValue, with memory semantics of setting as if the variable was declared volatile.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#setVolatile
* @param null|mixed $a
* @throws NotImplementedException
*/
public function setVolatile($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Ensures that stores before the fence will not be reordered with stores after the fence.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#storeStoreFence
* @param null|mixed $a
* @throws NotImplementedException
*/
public static function storeStoreFence($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Obtains a method handle bound to this VarHandle and the given access mode.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#toMethodHandle
* @param null|mixed $a
* @throws NotImplementedException
*/
public function toMethodHandle($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the variable type of variables referenced by this VarHandle.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#varType
* @param null|mixed $a
* @throws NotImplementedException
*/
public function varType($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Possibly atomically sets the value of a variable to the newValue with the memory semantics of setVolatile(java.lang.Object...) if the variable's current value, referred to as the witness value, == the expectedValue, as accessed with the memory semantics of getVolatile(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#weakCompareAndSet
* @param null|mixed $a
* @throws NotImplementedException
*/
public function weakCompareAndSet($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Possibly atomically sets the value of a variable to the newValue with the semantics of set(java.lang.Object...) if the variable's current value, referred to as the witness value, == the expectedValue, as accessed with the memory semantics of getAcquire(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#weakCompareAndSetAcquire
* @param null|mixed $a
* @throws NotImplementedException
*/
public function weakCompareAndSetAcquire($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Possibly atomically sets the value of a variable to the newValue with the semantics of set(java.lang.Object...) if the variable's current value, referred to as the witness value, == the expectedValue, as accessed with the memory semantics of get(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#weakCompareAndSetPlain
* @param null|mixed $a
* @throws NotImplementedException
*/
public function weakCompareAndSetPlain($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Possibly atomically sets the value of a variable to the newValue with the semantics of setRelease(java.lang.Object...) if the variable's current value, referred to as the witness value, == the expectedValue, as accessed with the memory semantics of get(java.lang.Object...).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/package-summary.html#weakCompareAndSetRelease
* @param null|mixed $a
* @throws NotImplementedException
*/
public function weakCompareAndSetRelease($a = null)
{
throw new NotImplementedException(__METHOD__);
}
}