class AllocationAlgorithmBase implements AllocationAlgorithm {

    @SuppressWarnings("unchecked")
    protected List<HostResources> cloneListOfHosts(List<HostResources> hosts) {
        return (List<HostResources>) ((ArrayList<HostResources>) hosts).clone();
    }

}