addAll

fun addAll(solutions: List<Solution>): List<Solution>

Adds all the solutions to the sequence of solutions. If the capacity is met, then the oldest (first) item is evicted and returned. Each evicted item is returned in the order of eviction.

Return

a list of possibly evicted items

Parameters

solutions

the solutions to add