org.optaplanner.core.impl.heuristic.selector.entity
public interface EntitySelector extends ListIterableSelector<Object>
PlanningEntity
annotated class.Modifier and Type | Method and Description |
---|---|
Iterator<Object> |
endingIterator()
If
Selector.isNeverEnding() is true, then Iterable.iterator() will never end. |
PlanningEntityDescriptor |
getEntityDescriptor() |
getSize
getCacheType, isContinuous, isNeverEnding
phaseEnded, phaseStarted, stepEnded, stepStarted
solvingEnded, solvingStarted
listIterator, listIterator
PlanningEntityDescriptor getEntityDescriptor()
Iterator<Object> endingIterator()
Selector.isNeverEnding()
is true, then Iterable.iterator()
will never end.
This returns an ending Iterator
, that tries to match Iterable.iterator()
as much as possible,
but might not respect the configuration of this EntitySelector
entirely.Iterable.iterator()
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.