public interface EntitySelector extends ListIterableSelector<Object>
PlanningEntity annotated class.AbstractEntitySelector,
FromSolutionEntitySelector| Modifier and Type | Method and Description |
|---|---|
Iterator<Object> |
endingIterator()
If
Selector.isNeverEnding() is true, then Iterable.iterator() will never end. |
EntityDescriptor |
getEntityDescriptor() |
getSizegetCacheType, isCountable, isNeverEndingphaseEnded, phaseStarted, stepEnded, stepStartedsolvingEnded, solvingStartedlistIterator, listIteratorforEach, iterator, spliteratorEntityDescriptor 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 returns each distinct element only once and returns every element that might possibly be selected
and therefore it might not respect the configuration of this EntitySelector entirely.Iterable.iterator()Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.