-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathListIterator.php
More file actions
110 lines (100 loc) Β· 3.56 KB
/
ListIterator.php
File metadata and controls
110 lines (100 loc) Β· 3.56 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
<?php
declare(strict_types=1);
namespace PHPJava\Packages\java\util;
use PHPJava\Exceptions\NotImplementedException;
/**
* The `ListIterator` interface was auto generated.
*/
interface ListIterator
{
/**
* Inserts the specified element into the list (optional operation).
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#add
* @NotImplemented
*/
// public function add($a = null)
/**
* Returns true if this list iterator has more elements when traversing the list in the forward direction.
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#hasNext
* @NotImplemented
*/
// public function hasNext($a = null)
/**
* Returns true if this list iterator has more elements when traversing the list in the reverse direction.
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#hasPrevious
* @NotImplemented
*/
// public function hasPrevious($a = null)
/**
* Returns the next element in the list and advances the cursor position.
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#next
* @NotImplemented
*/
// public function next($a = null)
/**
* Returns the index of the element that would be returned by a subsequent call to next().
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#nextIndex
* @NotImplemented
*/
// public function nextIndex($a = null)
/**
* Returns the previous element in the list and moves the cursor position backwards.
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#previous
* @NotImplemented
*/
// public function previous($a = null)
/**
* Returns the index of the element that would be returned by a subsequent call to previous().
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#previousIndex
* @NotImplemented
*/
// public function previousIndex($a = null)
/**
* Removes from the list the last element that was returned by next() or previous() (optional operation).
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#remove
* @NotImplemented
*/
// public function remove($a = null)
/**
* Replaces the last element returned by next() or previous() with the specified element (optional operation).
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#set
* @NotImplemented
*/
// public function set($a = null)
}