Package org.goplanit.utils.od
Class OdPrimitiveMatrixIterator<T extends Number>
- java.lang.Object
 - 
- org.goplanit.utils.od.OdMatrixIterator<T,org.ojalgo.array.Array2D<T>>
 - 
- org.goplanit.utils.od.OdPrimitiveMatrixIterator<T>
 
 
 
- 
- Type Parameters:
 T- type of primitive used which must be a Number derived type
- All Implemented Interfaces:
 Iterator<T>,OdDataIterator<T>
- Direct Known Subclasses:
 OdDemandMatrix.OdDemandMatrixIterator,OdSkimMatrix.OdSkimMatrixIterator
public class OdPrimitiveMatrixIterator<T extends Number> extends OdMatrixIterator<T,org.ojalgo.array.Array2D<T>>
Iterator of OdMatrix with primitives stored as Array2D- Author:
 - markr
 
 
- 
- 
Field Summary
- 
Fields inherited from class org.goplanit.utils.od.OdMatrixIterator
currentLocation, destinationId, originId, zones 
 - 
 
- 
Constructor Summary
Constructors Constructor Description OdPrimitiveMatrixIterator(org.ojalgo.array.Array2D<T> matrixContents, OdZones zones)Constructor 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetCurrentValue()Returns the value at the current cell- 
Methods inherited from class org.goplanit.utils.od.OdMatrixIterator
getCurrentDestination, getCurrentOrigin, getMatrixContent, hasNext, next, updateCurrentLocation 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface java.util.Iterator
forEachRemaining, remove 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getCurrentValue
public T getCurrentValue()
Returns the value at the current cell- Returns:
 - the value at the current cell
 
 
 - 
 
 -