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
Constructors -
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:
hasNextin interfaceIntIterator- Returns:
- true iff this iterator has a next element
-
next
public int next()- Specified by:
nextin interfaceIntIterator- Returns:
- next integer in the iteration
-
hashCode
- Overrides:
hashCodein classObject- Throws:
UnimplementedError
-