public interface IterableSelector<T> extends Selector, Iterable<T>
| Modifier and Type | Method and Description |
|---|---|
long |
getSize()
A random JIT
Selector with Selector.isNeverEnding() true should return a size
as if it would be able to return each distinct element only once,
because the size can be used in SelectionProbabilityWeightFactory. |
getCacheType, isCountable, isNeverEndingphaseEnded, phaseStarted, stepEnded, stepStartedsolvingEnded, solvingStartedforEach, iterator, spliteratorlong getSize()
Selector with Selector.isNeverEnding() true should return a size
as if it would be able to return each distinct element only once,
because the size can be used in SelectionProbabilityWeightFactory.Selector, always >= 0IllegalStateException - if Selector.isCountable() returns false,
but not if only Selector.isNeverEnding() returns trueCopyright © 2006–2021 JBoss by Red Hat. All rights reserved.