trait Iterablex
This trait provides additional methods on Iterable.
It is made public so that users can reuse the sameElementsAs method
- Companion
- object
Extensions
Extensions
extension (xs: Iterable[T])
extension (xs: Iterable[T])
This recursive function is not really well-formed (the asInstanceOf
should be ample proof). It only works if T
<===> Seq[T]
This recursive function is not really well-formed (the asInstanceOf
should be ample proof). It only works if T
<===> Seq[T]
This is the case for NodeFunctions.isEqualIgnoringSpace where it is used to check if 2 xml NodeSeqs have the same nodes regardless of whitespace
- Returns
true if the 2 iterables contain the same elements (according to a comparison function f) recursively, in any order