Class BmConcatLongIterator
java.lang.Object
com._1c.g5.v8.bm.common.collections.BmConcatLongIterator
- All Implemented Interfaces:
IBmLongIterator
The concatenating iterator over
long
values.-
Constructor Summary
ConstructorsConstructorDescriptionBmConcatLongIterator
(IBmLongIterator... targetIterators) Constructs a new instance.BmConcatLongIterator
(Iterable<? extends IBmLongIterator> targetIterators) Constructs a new instance. -
Method Summary
-
Constructor Details
-
BmConcatLongIterator
Constructs a new instance.- Parameters:
targetIterators
- The target iterators. May not benull
.
-
BmConcatLongIterator
Constructs a new instance.- Parameters:
targetIterators
- The target iterators. May not benull
.
-
-
Method Details
-
hasNext
public boolean hasNext()Description copied from interface:IBmLongIterator
Returnstrue
if the iteration has more elements. (In other words, returnstrue
ifIBmLongIterator.next()
would return an element rather than throwing an exception.)- Specified by:
hasNext
in interfaceIBmLongIterator
- Returns:
true
if the iteration has more elements
-
next
public long next()Description copied from interface:IBmLongIterator
Returns the next element in the iteration.- Specified by:
next
in interfaceIBmLongIterator
- Returns:
- the next element in the iteration
-