public interface Selector extends PhaseLifecycleListener
MoveSelector, EntitySelector and ValueSelector
which generates Moves or parts of them.| Modifier and Type | Method and Description |
|---|---|
SelectionCacheType |
getCacheType()
Unless this selector itself caches, this returns
SelectionCacheType.JUST_IN_TIME,
even if a selector child caches. |
boolean |
isCountable()
If false, then
isNeverEnding() is true. |
boolean |
isNeverEnding()
Is true if
isCountable() is false
or if this selector is in random order (for most cases). |
phaseEnded, phaseStarted, stepEnded, stepStartedsolvingEnded, solvingStartedboolean isCountable()
isNeverEnding() is true.ValueRanges are countable
(for example a double value range between 1.2 and 1.4 is not countable)boolean isNeverEnding()
isCountable() is false
or if this selector is in random order (for most cases).
Is never true when this selector is in shuffled order (which is less scalable but more exact).Iterator.hasNext() of the Iterator created by Iterable.iterator()
never returns false (except when it's empty).SelectionCacheType getCacheType()
SelectionCacheType.JUST_IN_TIME,
even if a selector child caches.Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.