This trait provides additional methods on Iterable.
It is made public so that users can reuse the sameElementsAs method
Attributes
Members list
Extensions
Extensions
Attributes
- Returns
-
true if the 2 iterables contain the same elements, in the same order, according to a function f
Attributes
- Returns
-
true if the second iterable elements are contained in the first, in order
map the first element with a function
map the first element with a function
Attributes
map the last element with a function
map the last element with a function
Attributes
Attributes
- Returns
-
a sequence rotated of a number of elements
Attributes
- Returns
-
true if the 2 iterables contain the same elements recursively, in any order
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
Attributes
- Returns
-
true if the 2 iterables contain the same elements (according to a comparison function f) recursively, in any order
Attributes
- Returns
-
a randomly mixed sequence
Attributes
- Returns
-
a randomly mixed sequence
Attributes
- Returns
-
the representation of the elements of the iterable using the toString method recursively