Class CompoundIntIterator
java.lang.Object
com.ibm.wala.util.collections.CompoundIntIterator
- All Implemented Interfaces:
IntIterator
An Iterator which provides a concatenation of two IntIterators.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CompoundIntIterator
- Parameters:
A
- the first iterator in the concatenated resultB
- the second iterator in the concatenated result
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIntIterator
- Returns:
- true iff this iterator has a next element
-
next
public int next()- Specified by:
next
in interfaceIntIterator
- Returns:
- next integer in the iteration
-
hashCode
- Overrides:
hashCode
in classObject
- Throws:
UnimplementedError
-