com.intel.hadoop.graphbuilder.preprocess.mapreduce.keyvalue
Class PairListIterator<T1,T2>
java.lang.Object
com.intel.hadoop.graphbuilder.preprocess.mapreduce.keyvalue.PairListIterator<T1,T2>
- Type Parameters:
T1
- T2
-
- All Implemented Interfaces:
- java.util.Iterator<Pair<T1,T2>>
public class PairListIterator<T1,T2>
- extends java.lang.Object
- implements java.util.Iterator<Pair<T1,T2>>
Helper class for iterating a list of pairs.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PairListIterator
public PairListIterator()
PairListIterator
public PairListIterator(java.util.ArrayList<T1> l1,
java.util.ArrayList<T2> l2)
throws java.lang.Exception
- Throws:
java.lang.Exception
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator<Pair<T1,T2>>
next
public Pair<T1,T2> next()
- Specified by:
next
in interface java.util.Iterator<Pair<T1,T2>>
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator<Pair<T1,T2>>