Class InvestmentQuantityTransferMoveIteratorFactory.RandomInvestmentQuantityTransferMoveIterator
- java.lang.Object
-
- org.optaplanner.examples.investment.solver.move.factory.InvestmentQuantityTransferMoveIteratorFactory.RandomInvestmentQuantityTransferMoveIterator
-
- All Implemented Interfaces:
Iterator<InvestmentQuantityTransferMove>
- Enclosing class:
- InvestmentQuantityTransferMoveIteratorFactory
public static class InvestmentQuantityTransferMoveIteratorFactory.RandomInvestmentQuantityTransferMoveIterator extends Object implements Iterator<InvestmentQuantityTransferMove>
-
-
Constructor Summary
Constructors Constructor Description RandomInvestmentQuantityTransferMoveIterator(List<AssetClassAllocation> allocationList, NavigableMap<Long,AssetClassAllocation> quantityMillisIncrementToAllocationMap, Random workingRandom)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()InvestmentQuantityTransferMovenext()voidremove()-
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
-
-
-
-
Constructor Detail
-
RandomInvestmentQuantityTransferMoveIterator
public RandomInvestmentQuantityTransferMoveIterator(List<AssetClassAllocation> allocationList, NavigableMap<Long,AssetClassAllocation> quantityMillisIncrementToAllocationMap, Random workingRandom)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<InvestmentQuantityTransferMove>
-
next
public InvestmentQuantityTransferMove next()
- Specified by:
nextin interfaceIterator<InvestmentQuantityTransferMove>
-
remove
public void remove()
- Specified by:
removein interfaceIterator<InvestmentQuantityTransferMove>
-
-