Modifier and Type | Field and Description |
---|---|
private static It<java.lang.Object> |
STATIC
Static instance.
|
Modifier | Constructor and Description |
---|---|
private |
EmptyIterator()
Private constructor, use static
empty() instead. |
Modifier and Type | Method and Description |
---|---|
It<O> |
advance()
Moves the iterator forward to the next entry.
|
static <O> It<O> |
empty()
Get an empty hierarchy iterator.
|
<T> It<T> |
filter(java.lang.Class<? super T> clz)
Filtered iteration.
|
It<O> |
filter(java.util.function.Predicate<? super O> predicate)
Filtered iteration.
|
void |
forEach(java.util.function.Consumer<? super O> action)
Process the remaining elements - this will invalidate the iterator.
|
O |
get()
Access the current object.
|
boolean |
valid()
Returns true if the iterator currently points to a valid object.
|
private static final It<java.lang.Object> STATIC
private EmptyIterator()
empty()
instead.public static <O> It<O> empty()
public boolean valid()
Iter
public It<O> advance()
Iter
public <T> It<T> filter(java.lang.Class<? super T> clz)
It
public It<O> filter(java.util.function.Predicate<? super O> predicate)
It
Copyright © 2019 ELKI Development Team. License information.