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. |
EntityDescriptor |
getEntityDescriptor() |
getSize
getCacheType, isCountable, isNeverEnding
phaseEnded, phaseStarted, stepEnded, stepStarted
solvingEnded, solvingStarted
listIterator, listIterator
EntityDescriptor 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 return each distinct element only once
and therefore it might not respect the configuration of this EntitySelector
entirely.Iterable.iterator()
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.