Methods
sameElements
and
corresponds
use iterators of the collections. Result is unpredictable if order of elements is not well defined.