-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathIterator.php
More file actions
55 lines (50 loc) · 1.65 KB
/
Iterator.php
File metadata and controls
55 lines (50 loc) · 1.65 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
<?php
declare(strict_types=1);
namespace PHPJava\Packages\java\util;
use PHPJava\Exceptions\NotImplementedException;
/**
* The `Iterator` interface was auto generated.
*/
interface Iterator
{
/**
* Performs the given action for each remaining element until all elements have been processed or the action throws an exception.
*
* @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#forEachRemaining
* @NotImplemented
*/
// public function forEachRemaining($a = null)
/**
* Returns true if the iteration has more elements.
*
* @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 the next element in the iteration.
*
* @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)
/**
* Removes from the underlying collection the last element returned by this iterator (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)
}