class ShufflingValueSelector<Solution_>
        extends AbstractCachingValueSelector<Solution_>
        implements EntityIndependentValueSelector<Solution_> {

    public ShufflingValueSelector(EntityIndependentValueSelector<Solution_> childValueSelector,
            SelectionCacheType cacheType) {
        super(childValueSelector, cacheType);
    }

    // ************************************************************************
    // Worker methods
    // ************************************************************************

    @Override
    public boolean isNeverEnding() {
        return false;
    }

    @Override
    public Iterator<Object> iterator(Object entity) {
        return iterator();
    }

    @Override
    public Iterator<Object> iterator() {<FILL_FUNCTION_BODY>}

    @Override
    public String toString() {
        return "Shuffling(" + childValueSelector + ")";
    }

}

        Collections.shuffle(cachedValueList, workingRandom);
        logger.trace("    Shuffled cachedValueList with size ({}) in valueSelector({}).",
                cachedValueList.size(), this);
        return cachedValueList.iterator();
    
<methods>public void <init>(EntityIndependentValueSelector<Solution_>, org.optaplanner.core.config.heuristic.selector.common.SelectionCacheType) ,public void constructCache(SolverScope<Solution_>) ,public void disposeCache(SolverScope<Solution_>) ,public Iterator<java.lang.Object> endingIterator(java.lang.Object) ,public Iterator<java.lang.Object> endingIterator() ,public boolean equals(java.lang.Object) ,public org.optaplanner.core.config.heuristic.selector.common.SelectionCacheType getCacheType() ,public ValueSelector<Solution_> getChildValueSelector() ,public long getSize(java.lang.Object) ,public long getSize() ,public GenuineVariableDescriptor<Solution_> getVariableDescriptor() ,public int hashCode() ,public boolean isCountable() <variables>protected final non-sealed org.optaplanner.core.config.heuristic.selector.common.SelectionCacheType cacheType,protected List<java.lang.Object> cachedValueList,protected final non-sealed EntityIndependentValueSelector<Solution_> childValueSelector