public class EntityIndependentInitializedValueSelector extends InitializedValueSelector implements EntityIndependentValueSelector
InitializedValueSelector.JustInTimeInitializedValueIterator
bailOutEnabled, childValueSelector, variableDescriptor
logger, phaseLifecycleSupport, workingRandom
Constructor and Description |
---|
EntityIndependentInitializedValueSelector(EntityIndependentValueSelector childValueSelector) |
Modifier and Type | Method and Description |
---|---|
protected long |
determineBailOutSize() |
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 . |
Iterator<Object> |
iterator() |
accept, create, determineBailOutSize, endingIterator, getSize, getVariableDescriptor, isCountable, isNeverEnding, iterator, toString
getCacheType, phaseEnded, phaseStarted, solvingEnded, solvingStarted, stepEnded, stepStarted
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
endingIterator, getSize, getVariableDescriptor, iterator
getCacheType, isCountable, isNeverEnding
phaseEnded, phaseStarted, stepEnded, stepStarted
solvingEnded, solvingStarted
forEach, spliterator
public EntityIndependentInitializedValueSelector(EntityIndependentValueSelector childValueSelector)
public long getSize()
IterableSelector
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
.getSize
in interface IterableSelector<Object>
Selector
, always >= 0
protected long determineBailOutSize()
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.