Class BmConcatLongIterator
- java.lang.Object
-
- com._1c.g5.v8.bm.common.collections.BmConcatLongIterator
-
- All Implemented Interfaces:
IBmLongIterator
public final class BmConcatLongIterator extends Object implements IBmLongIterator
The concatenating iterator overlongvalues.
-
-
Constructor Summary
Constructors Constructor Description BmConcatLongIterator(IBmLongIterator... targetIterators)Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Returnstrueif the iteration has more elements.longnext()Returns the next element in the iteration.
-
-
-
Constructor Detail
-
BmConcatLongIterator
public BmConcatLongIterator(IBmLongIterator... targetIterators)
Constructs a new instance.- Parameters:
targetIterators- The target iterators. May not benull.
-
-
Method Detail
-
hasNext
public boolean hasNext()
Description copied from interface:IBmLongIteratorReturnstrueif the iteration has more elements. (In other words, returnstrueifIBmLongIterator.next()would return an element rather than throwing an exception.)- Specified by:
hasNextin interfaceIBmLongIterator- Returns:
trueif the iteration has more elements
-
next
public long next()
Description copied from interface:IBmLongIteratorReturns the next element in the iteration.- Specified by:
nextin interfaceIBmLongIterator- Returns:
- the next element in the iteration
-
-