pre: from >= 0
A class supporting filtered operations
Concatenates this iterable collection with the elements of an iterator
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
The factory companion object that builds instances of class Iterable
Copies elements of this iterable collection to an array
Copies elements of this iterable collection to an array
Copies elements 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 first 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
Builds a new collection by applying a function to all elements of this iterable collection and concatenating the results
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
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
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
Creates a new iterator over all elements contained in this iterable object
Selects the last element
Optionally selects the last element
Builds a new collection by applying a function to all elements of this iterable collection
Finds the largest 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
Builds a new collection by applying a partial function to all elements of this iterable collection on which the function is defined
Partitions this iterable collection in two iterable collections according to a predicate
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
Checks if the other iterable collection contains the same elements in the same order as this iterable collection
The size of this iterable collection
Selects an interval of elements
Spits 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
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
Converts this iterable collection to an array
Converts this iterable collection to an indexed sequence
Converts this iterable collection to an iterable collection
Converts this iterable collection to a list
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
Transposes this iterable collection of traversable collections into
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
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
Zips this iterable collection with its indices