optaplanner-core/src/main/java/org/optaplanner/core/impl/heuristic/move/AbstractMove.java
protected static <E> List<E> rebaseList(List<E> externalObjectList, ScoreDirector<?> destinationScoreDirector) {
        List<E> rebasedObjectList = new ArrayList<>(externalObjectList.size());
        for (E entity : externalObjectList) {
            rebasedObjectList.add(destinationScoreDirector.lookUpWorkingObject(entity));
        }
        return rebasedObjectList;
    }
protected static <E> List<E> rebaseList(List<E> externalObjectList, ScoreDirector<?> destinationScoreDirector) {
        List<E> rebasedObjectList = new ArrayList<>(externalObjectList.size());
        for (E entity : externalObjectList) {
            rebasedObjectList.add(destinationScoreDirector.lookUpWorkingObject(entity));
        }
        return rebasedObjectList;
    }
protected static < E > List < E > rebaseList ( List < E > externalObjectList , ScoreDirector < ? > destinationScoreDirector ) { List < E > rebasedObjectList = new ArrayList <> ( externalObjectList . size ( ) ) ; for ( E entity : externalObjectList ) { rebasedObjectList . add ( destinationScoreDirector . lookUpWorkingObject ( entity ) ) ; } return rebasedObjectList ; }
************************************************************************
************************************************************************