Is there any clear logic behind this: in Collections class the following methods take only List as argument
fill, copy (dstList, srcList), shuffle, reverse, rotate
Those methods could take Queue, Deque just as well, for example.
Is there any clear logic behind this: in Collections class the following methods take only List as argument
fill, copy (dstList, srcList), shuffle, reverse, rotate
Those methods could take Queue, Deque just as well, for example.