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, isNeverEnding
phaseEnded, phaseStarted, stepEnded, stepStarted
solvingEnded, solvingStarted
forEach, iterator, spliterator
long 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 >= 0
IllegalStateException
- if Selector.isCountable()
returns false,
but not if only Selector.isNeverEnding()
returns trueCopyright © 2006–2020 JBoss by Red Hat. All rights reserved.