Class SubChain
- java.lang.Object
-
- org.optaplanner.core.impl.heuristic.selector.value.chained.SubChain
-
public class SubChain extends Object
A subList out of a single chain.Never includes an anchor.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<Object>getEntityList()ObjectgetFirstEntity()ObjectgetLastEntity()intgetSize()inthashCode()<Solution_>
SubChainrebase(ScoreDirector<Solution_> destinationScoreDirector)SubChainreverse()SubChainsubChain(int fromIndex, int toIndex)StringtoDottedString()StringtoString()
-
-
-
Method Detail
-
getFirstEntity
public Object getFirstEntity()
-
getLastEntity
public Object getLastEntity()
-
getSize
public int getSize()
-
reverse
public SubChain reverse()
-
subChain
public SubChain subChain(int fromIndex, int toIndex)
-
rebase
public <Solution_> SubChain rebase(ScoreDirector<Solution_> destinationScoreDirector)
-
toDottedString
public String toDottedString()
-
-