E
- the type of the iterator elements@FunctionalInterface public static interface Iterators.ElementsSupplierStateHandler<E>
endOfData()
for more information.Modifier and Type | Method and Description |
---|---|
E |
endOfData()
Marks the iteration's end, the so called end of data.
|
@Nullable E endOfData()
If this has been called the return value of the elements supplier will not be taken into account.
Check out Iterators.iterator(Function)
for an usage example.
null
Copyright © 2025. All rights reserved.