gov.sandia.cognition.math.matrix.mtj
Class MatrixUnionIteratorMTJ

java.lang.Object
  extended by gov.sandia.cognition.math.matrix.MatrixUnionIterator
      extended by gov.sandia.cognition.math.matrix.mtj.MatrixUnionIteratorMTJ
All Implemented Interfaces:
Iterator<TwoMatrixEntry>

public class MatrixUnionIteratorMTJ
extends MatrixUnionIterator

Implementation of MatrixUnionIterator for MTJ-based matrices.

Since:
1.0
Author:
Kevin R. Dixon

Constructor Summary
MatrixUnionIteratorMTJ(AbstractMTJMatrix firstMatrix, AbstractMTJMatrix secondMatrix)
          Creates a new instance of AbstractMTJMatrixIntersectionIterator, iterating at rowIndex = 0, columnIndex = 0
 
Method Summary
 void remove()
          
 
Methods inherited from class gov.sandia.cognition.math.matrix.MatrixUnionIterator
advanceInternalIterators, getFirstInternalEntry, getFirstIterator, getIndexComparator, getInternalEntry, getSecondInternalEntry, getSecondIterator, hasNext, next, safeFirstNext, safeSecondNext, setFirstInternalEntry, setFirstIterator, setIndexComparator, setInternalEntry, setSecondInternalEntry, setSecondIterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatrixUnionIteratorMTJ

public MatrixUnionIteratorMTJ(AbstractMTJMatrix firstMatrix,
                              AbstractMTJMatrix secondMatrix)
Creates a new instance of AbstractMTJMatrixIntersectionIterator, iterating at rowIndex = 0, columnIndex = 0

Parameters:
firstMatrix - Must have the same dimensions as secondMatrix.
secondMatrix - Must have the same dimensions as firstMatrix.
Method Detail

remove

public void remove()

Specified by:
remove in interface Iterator<TwoMatrixEntry>
Overrides:
remove in class MatrixUnionIterator