scala.collection.mutable.IndexedSeqView.Reversed
pre: from >= 0
A class supporting filtered operations
Concatenates this sequence with the elements of an iterator
Concatenates this sequence with the elements of a traversable collection
Prepends an element to this sequence
Applies a binary operator to a start value and all elements of this sequence, going left to right
Appends an element to this sequence
Applies a binary operator to all elements of this sequence and a start value, going right to left
Appends all elements of this sequence to a string builder
Appends all elements of this sequence to a string builder using a separator string
Appends all elements of this sequence to a string builder using start, end, and separator strings
Composes this partial function with a transformation function that gets applied to results of this partial function
Selects an element by its index in the sequence
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 Seq
(f compose g)(x) == f(g(x))
Tests whether this sequence contains a given value as an element
Tests whether this sequence contains a given sequence as a slice
Copies elements of this sequence to an array
Copies elements of this sequence to an array
Copies elements of this sequence to an array
Copies all elements of this sequence to a buffer
Tests whether every element of this sequence relates to the corresponding element of another sequence by satisfying a test predicate
Counts the number of elements in the sequence which satisfy a predicate
Computes the multiset difference between this sequence and another sequence
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 this sequence ends with the given sequence
The equality method defined in AnyRef
Tests whether every element of this sequence relates to the corresponding element of another sequence by satisfying a test predicate
Tests whether a predicate holds for some of the elements of this sequence
Selects all elements of this sequence which satisfy a predicate
Selects all elements of this sequence which do not satisfy a predicate
Finds the first element of the sequence satisfying a predicate, if any
Returns index of the first element satisying a predicate, or -1
Returns index of the last element satisying a predicate, or -1
None
if iterable is empty
Builds a new collection by applying a function to all elements of this sequence and concatenating the results
Converts this sequence of traversable collections into a sequence in which all element collections are concatenated
Applies a binary operator to a start value and all elements of this sequence, going left to right
Applies a binary operator to all elements of this sequence and a start value, going right to left
Tests whether a predicate holds for all elements of this sequence
Applies a function f
to all elements of this sequence
The generic builder that builds instances of Seq at arbitrary element types
Partitions this sequence into a map of sequences according to some discriminator function
Tests whether this sequence is known to have a finite size
Hashcodes for Seq produce a value from the hashcodes of all the elements of the sequence
Selects the first element of this sequence
Optionally selects the first element
Finds index of first occurrence of some value in this sequence after or at some start index
Finds index of first occurrence of some value in this sequence
Finds first index after or at a start index where this sequence contains a given sequence as a slice
Finds first index where this sequence contains a given sequence as a slice
Finds index of the first element satisfying some predicate after or at some start index
Finds index of first element satisfying some predicate
Produces the range of all indices of this sequence
Selects all elements except the last
Computes the multiset intersection between this sequence and another sequence
Tests whether this sequence contains given index
Tests whether this sequence is empty
Creates a new iterator over all elements contained in this iterable object
Selects the last element
Finds index of last occurrence of some value in this sequence before or at a given end index
Finds index of last occurrence of some value in this sequence
Finds last index before or at a given end index where this sequence contains a given sequence as a slice
Finds last index where this sequence contains a given sequence as a slice
Finds index of last element satisfying some predicate before or at given end index
Finds index of last element satisfying some predicate
Optionally selects the last element
The length of the sequence
Compares the length of this sequence to a test value
Turns this partial function into an plain function returning an Option
result
Builds a new collection by applying a function to all elements of this sequence
Finds the largest element
Finds the smallest element
Displays all elements of this sequence in a string
Displays all elements of this sequence in a string using a separator string
Displays all elements of this sequence in a string using start, end, and separator strings
Tests whether the sequence is not empty
Composes this partial function with a fallback partial function which gets applied where this partial function is not defined
Appends an element value to this sequence until a given target length is reached
Builds a new collection by applying a partial function to all elements of this sequence on which the function is defined
Partitions this sequence in two sequences according to a predicate
Produces a new sequence where a slice of elements in this sequence is replaced by another sequence
Returns the length of the longest prefix whose elements all satisfy some preficate
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 sequence, going left to right
Optionally applies a binary operator to all elements of this sequence, going left to right
Applies a binary operator to all elements of this sequence, going right to left
Optionally applies a binary operator to all elements of this sequence, going right to left
Builds a new sequence from this sequence without any duplicate elements
The collection of type sequence underlying this TraversableLike
object
Returns new sequence wih elements in reversed order
An iterator yielding elements in reversed order
Builds a new collection by applying a function to all elements of this sequence and collecting the results in reversed order
Checks if the other iterable collection contains the same elements in the same order as this sequence
Computes length of longest segment whose elements all satisfy some preficate
The size of this sequence, equivalent to length
Selects an interval of elements
Sorts this Seq according to the Ordering which results from transforming an implicitly given Ordering with a transformation function
Sorts this sequence according to an Ordering
Sorts this sequence according to a comparison function
Spits this sequence into a prefix/suffix pair according to a predicate
Splits this sequence into two at a given position
Tests whether this sequence contains the given sequence at a given index
Tests whether this sequence starts with the given sequence
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 sequence to an array
Converts this sequence to an indexed sequence
Converts this sequence to an iterable collection
Converts this sequence to a list
Converts this sequence to a sequence
Converts this sequence to a set
Converts this sequence to a stream
Converts this sequence to a string
Transposes this sequence of traversable collections into
Produces a new sequence which contains all elements of this sequence and also all elements of a given sequence
Converts this sequence of pairs into two collections of the first and second halfs of each pair
A copy of this sequence with one single replaced element
Creates a non-strict view of a slice of this sequence
Creates a non-strict view of this sequence
Creates a non-strict filter of this sequence
Returns a sequence formed from this sequence and another iterable collection by combining corresponding elements in pairs
Returns a sequence formed from this sequence and another iterable collection by combining corresponding elements in pairs
Zips this sequence with its indices