A fall back which forces everything into a vector and then applies an operation on it .
pre: from >= 0
The implementation base trait of this view .
A class supporting filtered operations .
[use case] Concatenates this iterable collection with the elements of a traversable collection .
Concatenates this iterable collection with the elements of a traversable collection .
Applies a binary operator to a start value and all elements of this iterable collection, going left to right .
Applies a binary operator to all elements of this iterable collection and a start value, going right to left .
Appends all elements of this iterable collection to a string builder .
Appends all elements of this iterable collection to a string builder using a separator string .
Appends all elements of this iterable collection to a string builder using start, end, and separator strings .
Method called from equality methods, so that user-defined subclasses can refuse to be equal to other collections of the same kind .
[use case] Builds a new collection by applying a partial function to all elements of this iterable collection on which the function is defined .
Builds a new collection by applying a partial function to all elements of this iterable collection on which the function is defined .
The factory companion object that builds instances of class Iterable .
[use case] Copies elements of this iterable collection to an array .
Copies elements of this iterable collection to an array .
[use case] Copies values of this iterable collection to an array .
Copies values of this iterable collection to an array .
[use case] Copies values of this iterable collection to an array .
Copies values of this iterable collection to an array .
Copies all elements of this iterable collection to a buffer .
Counts the number of elements in the iterable collection which satisfy a predicate .
Selects all elements except first n ones.
Selects all elements except last n ones.
Drops longest prefix of elements that satisfy a predicate .
Tests whether a predicate holds for some of the elements of this iterable collection .
Selects all elements of this iterable collection which satisfy a predicate .
Selects all elements of this iterable collection which do not satisfy a predicate .
Finds the first element of the iterable collection satisfying a predicate, if any .
None
if iterable is empty.
[use case] Builds a new collection by applying a function to all elements of this iterable collection and concatenating the results .
Builds a new collection by applying a function to all elements of this iterable collection and concatenating the results .
[use case] Converts this iterable collection of traversable collections into a iterable collection in which all element collections are concatenated .
Converts this iterable collection of traversable collections into a iterable collection in which all element collections are concatenated .
Applies a binary operator to a start value and all elements of this iterable collection, going left to right .
Applies a binary operator to all elements of this iterable collection and a start value, going right to left .
Tests whether a predicate holds for all elements of this iterable collection .
[use case] Applies a function f
to all elements of this iterable collection.
Applies a function f
to all elements of this iterable collection.
The generic builder that builds instances of Iterable at arbitrary element types .
Partitions this iterable collection into a map of iterable collections according to some discriminator function .
Partitions elements in fixed size iterable collections .
Tests whether this iterable collection is known to have a finite size .
Selects the first element of this iterable collection .
Optionally selects the first element .
Selects all elements except the last .
Tests whether this iterable collection is empty .
Tests whether this iterable collection can be repeatedly traversed .
Creates a new iterator over all elements contained in this iterable object .
Selects the last element .
Optionally selects the last element .
[use case] Builds a new collection by applying a function to all elements of this iterable collection .
Builds a new collection by applying a function to all elements of this iterable collection .
[use case] Finds the largest element .
Finds the largest element .
[use case] Finds the smallest element .
Finds the smallest element .
Displays all elements of this iterable collection in a string .
Displays all elements of this iterable collection in a string using a separator string .
Displays all elements of this iterable collection in a string using start, end, and separator strings .
Tests whether the iterable collection is not empty .
Partitions this iterable collection in two iterable collections according to a predicate .
[use case] Multiplies up the elements of this collection .
Multiplies up the elements of this collection .
returns a projection that can be used to call non-strict filter
,map
, and flatMap
methods that build projections
of the collection.
Applies a binary operator to all elements of this iterable collection, going left to right .
Optionally applies a binary operator to all elements of this iterable collection, going left to right .
Applies a binary operator to all elements of this iterable collection, going right to left .
Optionally applies a binary operator to all elements of this iterable collection, going right to left .
The collection of type iterable collection underlying this TraversableLike
object.
[use case] Checks if the other iterable collection contains the same elements in the same order as this iterable collection .
Checks if the other iterable collection contains the same elements in the same order as this iterable collection .
Produces a collection containing cummulative results of applying the operator going left to right .
Produces a collection containing cummulative results of applying the operator going right to left .
The size of this iterable collection .
Selects an interval of elements .
Groups elements in fixed size blocks by passing a "sliding window" over them (as opposed to partitioning them, as is done in grouped .
Splits this iterable collection into a prefix/suffix pair according to a predicate .
Splits this iterable collection into two at a given position .
Defines the prefix of this object's toString
representation.
[use case] Sums up the elements of this collection .
Sums up the elements of this collection .
Selects all elements except the first .
Selects first n elements.
Selects last n elements.
Takes longest prefix of elements that satisfy a predicate .
[use case] Converts this iterable collection to an array .
Converts this iterable collection to an array .
Converts this iterable collection to an indexed sequence .
Converts this iterable collection to an iterable collection .
Returns an Iterator over the elements in this iterable collection .
Converts this iterable collection to a list .
Converts this iterable collection to a map .
Converts this iterable collection to a sequence .
Converts this iterable collection to a set .
Converts this iterable collection to a stream .
Converts this iterable collection to a string .
Converts this iterable collection to an unspecified Traversable .
Transposes this iterable collection of traversable collections into a iterable collection of iterable collections .
Converts this iterable collection of pairs into two collections of the first and second halfs of each pair .
Creates a non-strict view of a slice of this iterable collection .
Creates a non-strict view of this iterable collection .
Creates a non-strict filter of this iterable collection .
[use case] Returns a iterable collection formed from this iterable collection and another iterable collection by combining corresponding elements in pairs .
Returns a iterable collection formed from this iterable collection and another iterable collection by combining corresponding elements in pairs .
[use case] Returns a iterable collection formed from this iterable collection and another iterable collection by combining corresponding elements in pairs .
Returns a iterable collection formed from this iterable collection and another iterable collection by combining corresponding elements in pairs .
[use case] Zips this iterable collection with its indices .
Zips this iterable collection with its indices .
A template trait for non-strict views of iterable collections .
$viewInfo All views for iterable collections are defined by re-interpreting the
iterator
method.the element type of the view
the type of the underlying collection containing the elements .
the type of the view itself
version
2 . 8
since
2 . 8
authors:
Martin Odersky