O
- contained object type.public class IterableIt<O> extends java.lang.Object implements It<O>
RandomAccess
, always use
ArrayListIter
instead (less wrapping)!Modifier and Type | Field and Description |
---|---|
(package private) java.lang.Object |
cur
Current object.
|
private static java.lang.Object |
END_VALUE
End sentinel value.
|
(package private) java.util.Iterator<O> |
inner
The proxied iterator.
|
Constructor and Description |
---|
IterableIt(java.lang.Iterable<O> data)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
It<O> |
advance()
Moves the iterator forward to the next entry.
|
O |
get()
Get the current element.
|
boolean |
valid()
Returns true if the iterator currently points to a valid object.
|
final java.util.Iterator<O> inner
java.lang.Object cur
private static final java.lang.Object END_VALUE
public IterableIt(java.lang.Iterable<O> data)
data
- Data array.Copyright © 2019 ELKI Development Team. License information.