The VectorS
class stores and operates on Numeric Vectors of base type String
.
Value parameters
- dim
-
the dimension/size of the vector
- v
-
the 1D array used to store vector elements
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait DefaultSerializabletrait Serializabletrait PartiallyOrdered[VectorS]trait IndexedSeq[String]trait IndexedSeqOps[String, IndexedSeq, IndexedSeq[String]]trait IndexedSeq[String]trait IndexedSeqOps[String, IndexedSeq, IndexedSeq[String]]trait Seq[String]trait SeqOps[String, IndexedSeq, IndexedSeq[String]]trait Cloneable[IndexedSeq[String]]trait Cloneabletrait Seq[String]trait Equalstrait SeqOps[String, IndexedSeq, IndexedSeq[String]]trait PartialFunction[Int, String]trait Int => Stringtrait Iterable[String]trait Iterable[String]trait IterableFactoryDefaults[String, IndexedSeq]trait IterableOps[String, IndexedSeq, IndexedSeq[String]]trait IterableOnceOps[String, IndexedSeq, IndexedSeq[String]]trait IterableOnce[String]class Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited types
Attributes
- Inherited from:
- PartiallyOrdered
Value members
Concrete methods
Compute the element-wise sum (or difference, product, quotient) of vectors this and y.
Compute the element-wise sum (or difference, product, quotient) of vectors this and y.
Value parameters
- y
-
the other vector/indexed sequence
Attributes
Compute the element-wise sum (or difference, product, quotient) of this and scalar a.
Compute the element-wise sum (or difference, product, quotient) of this and scalar a.
Value parameters
- a
-
the scalar second operand
Attributes
Add this vector and scalar a only at position i, e.g., x + (3, 5.5).
Add this vector and scalar a only at position i, e.g., x + (3, 5.5).
Value parameters
- ia
-
= (i, a) the (index position, scalar) to add
Attributes
Concatenate this vector and vector y.
Concatenate this vector and vector y.
Value parameters
- y
-
the other vector/indexed sequence
Attributes
Prepend (or append) this vector with scalar a.
Prepend (or append) this vector with scalar a.
Value parameters
- a
-
the scalar second operand
Attributes
Compute the element-wise sum (or difference, product, quotient) of vectors this and y. Perform operations in-place (destructive) to reduce memory allocations.
Compute the element-wise sum (or difference, product, quotient) of vectors this and y. Perform operations in-place (destructive) to reduce memory allocations.
Value parameters
- y
-
the other vector/indexed sequence
Attributes
Compute the element-wise sum (or difference, product, quotient) of this and scalar a. Perform operations in-place (destructive) to reduce memory allocations.
Compute the element-wise sum (or difference, product, quotient) of this and scalar a. Perform operations in-place (destructive) to reduce memory allocations.
Value parameters
- a
-
the scalar second operand
Attributes
Subtract from this vector the scalar a only at position i, e.g., x - (3, 5.5).
Subtract from this vector the scalar a only at position i, e.g., x - (3, 5.5).
Value parameters
- ia
-
= (i, a) the (index position, scalar) to subtract
Attributes
Return the vector that is the element-wise absolute value of this vector.
Return the vector that is the element-wise absolute value of this vector.
Attributes
Return the i-th element of this vector.
Return the i-th element of this vector.
Value parameters
- i
-
the index of the element to return
Attributes
Return the elements in range r of this vector.
Return the elements in range r of this vector.
Value parameters
- r
-
the index range of elements to return
Attributes
Return the elements in index sequence idx of this vector.
Return the elements in index sequence idx of this vector.
Value parameters
- idx
-
the index sequence of elements to return
Attributes
Find the argument maximum of this vector (index of maximum element).
Find the argument maximum of this vector (index of maximum element).
Value parameters
- e
-
the ending index (exclusive) for the search
Attributes
Find the argument maximum of this vector (index of maximum element).
Find the argument maximum of this vector (index of maximum element).
Value parameters
- e
-
the ending index (exclusive) for the search
- s
-
the starting index (inclusive) for the search
Attributes
Find the argument minimum of this vector (index of minimum element).
Find the argument minimum of this vector (index of minimum element).
Value parameters
- e
-
the ending index (exclusive) for the search
Attributes
Find the argument minimum of 'this' vector (index of minimum element).
Find the argument minimum of 'this' vector (index of minimum element).
Value parameters
- e
-
the ending index (exclusive) for the search
- s
-
the starting index (inclusive) for the search
Attributes
Chop this vector into k sub-vectors of equal sizes (perhaps except for the last one).
Chop this vector into k sub-vectors of equal sizes (perhaps except for the last one).
Value parameters
- k
-
the number of pieces to chop this vector into
Attributes
Return a deep copy of this vector (note: clone may not be deep). Uses Java's native Arrays.copyOf
for efficiency.
Return a deep copy of this vector (note: clone may not be deep). Uses Java's native Arrays.copyOf
for efficiency.
Attributes
Count the number of zero elements in the this vector.
Count the number of zero elements in the this vector.
Attributes
Cumulate the values of 'this' vector from left to right (e.g., create a CDF from a pmf). Example: (4, 2, 3, 1) --> (4, 6, 9, 10)
Cumulate the values of 'this' vector from left to right (e.g., create a CDF from a pmf). Example: (4, 2, 3, 1) --> (4, 6, 9, 10)
Attributes
Return the difference between this vector and vector y.
Return the difference between this vector and vector y.
Value parameters
- y
-
the other vector/indexed sequence
Attributes
Form a new vector consisting of the unique values in this vector.
Form a new vector consisting of the unique values in this vector.
Attributes
- Definition Classes
-
SeqOps
Expand the size (dim) of this vector by more elements.
Expand the size (dim) of this vector by more elements.
Value parameters
- more
-
the number of new elements to add
Attributes
Filter the elements in this vector based on the predicate (or not predicate).
Filter the elements in this vector based on the predicate (or not predicate).
Value parameters
- the
-
filter predicate
Attributes
- Definition Classes
-
IterableOps -> IterableOnceOps
Attributes
- Definition Classes
-
IterableOps -> IterableOnceOps
Filter the elements in this vector based on the predicate, returning index positions.
Filter the elements in this vector based on the predicate, returning index positions.
Value parameters
- the
-
filter predicate
Attributes
Iterate over this vector element by element applying the given function.
Iterate over this vector element by element applying the given function.
Value parameters
- f
-
the function to apply
Attributes
- Definition Classes
-
IterableOnceOps
Return the intersection of this vector and vector y.
Return the intersection of this vector and vector y.
Value parameters
- y
-
the other vector/indexed sequence
Attributes
Indirectly sort this vector using QuickSort, returning the rank order.
Indirectly sort this vector using QuickSort, returning the rank order.
Attributes
Return whether this is non-negative (contains no negative values).
Return whether this is non-negative (contains no negative values).
Attributes
Indirectly sort this vector using SelectionSort, returning the rank order.
Indirectly sort this vector using SelectionSort, returning the rank order.
Attributes
Return the length of this vector.
Return the length of this vector.
Attributes
Return the magnitude of this vector, i.e., the element value farthest from zero.
Return the magnitude of this vector, i.e., the element value farthest from zero.
Attributes
Map the elements of this vector by applying the mapping function f.
Map the elements of this vector by applying the mapping function f.
Value parameters
- f
-
the function to apply
Attributes
Convert this VectorS
into a VectorI
by mapping each distinct value in VectorS
into a distinct numeric integer value, returning the new vector and the bidirectional mapping. Use the from method in BiMap
to recover the original string. e.g., VectorS ("A", "B", "C", "A", "D") will be mapped to VectorI (0, 1, 2, 0, 3)
Convert this VectorS
into a VectorI
by mapping each distinct value in VectorS
into a distinct numeric integer value, returning the new vector and the bidirectional mapping. Use the from method in BiMap
to recover the original string. e.g., VectorS ("A", "B", "C", "A", "D") will be mapped to VectorI (0, 1, 2, 0, 3)
Attributes
Return a new vector consisting of the maximum of this and y's corresponding elements.
Return a new vector consisting of the maximum of this and y's corresponding elements.
Value parameters
- y
-
the other vector/indexed sequence
Attributes
Indirectly find the k-median (k-th smallest element) of array v.
Indirectly find the k-median (k-th smallest element) of array v.
Value parameters
- k
-
the type of median (e.g., k = (dim+1)/2 is the median)
Attributes
Compute the averaged median, which is the median when dim is odd and the average of the median and the next k-median when dim is even.
Compute the averaged median, which is the median when dim is odd and the average of the median and the next k-median when dim is even.
Attributes
Return a new vector consisting of the minimum of this and y's corresponding elements.
Return a new vector consisting of the minimum of this and y's corresponding elements.
Value parameters
- y
-
the other vector/indexed sequence
Attributes
Compute the Manhattan norm (1-norm) of this vector.
Compute the Manhattan norm (1-norm) of this vector.
Attributes
Return the elements not in index sequence idx of this vector.
Return the elements not in index sequence idx of this vector.
Value parameters
- idx
-
the index sequence of elements to skip
Attributes
Reverse the elements in this vector.
Reverse the elements in this vector.
Attributes
- Definition Classes
-
IndexedSeqOps -> SeqOps
Set all elements in this vector to a (or vector y.
Set all elements in this vector to a (or vector y.
Value parameters
- a
-
the value to be assigned
Attributes
Sort the elements in this vector according to cmp (use '_ > _' for descending order.
Sort the elements in this vector according to cmp (use '_ > _' for descending order.
Value parameters
- cmp
-
the comparison operator.
Attributes
- Definition Classes
-
SeqOps
Sort the elements in this vector according to ord.lt (ascending order).
Sort the elements in this vector according to ord.lt (ascending order).
Attributes
Split the elements from this vector to form two vectors: one from the elements in idx (e.g., testing set) and the other from elements not in idx (e.g., training set). Note split and split_ produce different element orders.
Split the elements from this vector to form two vectors: one from the elements in idx (e.g., testing set) and the other from elements not in idx (e.g., training set). Note split and split_ produce different element orders.
Value parameters
- idx
-
the element indices to include/exclude
Attributes
Split the elements from this vector to form two vectors: one from the the first i elements and the other from the rest of the elements.
Split the elements from this vector to form two vectors: one from the the first i elements and the other from the rest of the elements.
Value parameters
- i
-
the split index
Attributes
Split the elements from this vector to form two vectors: one from the elements in idx (e.g., testing set) and the other from elements not in idx (e.g., training set). Concise, but less efficient than split
Split the elements from this vector to form two vectors: one from the elements in idx (e.g., testing set) and the other from elements not in idx (e.g., training set). Concise, but less efficient than split
Value parameters
- idx
-
the element indices to include/exclude
Attributes
Return the vector consisting of the square root of each element of this vector.
Return the vector consisting of the square root of each element of this vector.
Attributes
Compute sum for the elements in this vector.
Compute sum for the elements in this vector.
Attributes
Compute three sums for the k-prefix, middle and k-suffix of this vector.
Compute three sums for the k-prefix, middle and k-suffix of this vector.
Attributes
Swap (in-place) elements i and k in this vector.
Swap (in-place) elements i and k in this vector.
Value parameters
- i
-
the first element in the swap
- k
-
the second element in the swap
Attributes
Convert this String
vector to a Double
vector.
Convert this String
vector to a Double
vector.
Attributes
Convert this String
vector to an Int
vector.
Convert this String
vector to an Int
vector.
Attributes
Convert to a probability vector, by normalizing so that it sums to one.
Convert to a probability vector, by normalizing so that it sums to one.
Attributes
Convert vector to a string.
Convert vector to a string.
Attributes
- Definition Classes
-
Seq -> Function1 -> Iterable -> Any
Try to compare this vector to bb (return None if they are not comparable). As a partial order some vectors may not be comparable.
Try to compare this vector to bb (return None if they are not comparable). As a partial order some vectors may not be comparable.
Value parameters
- bb
-
the other vector
Attributes
Return the negative of this vector (unary minus).
Return the negative of this vector (unary minus).
Attributes
Update the i-th element (or in range) of this vector.
Update the i-th element (or in range) of this vector.
Value parameters
- a
-
the updated value to assign
- i
-
the index of the element to update
Attributes
Update the i-th element (or in range) of this vector.
Update the i-th element (or in range) of this vector.
Value parameters
- a
-
the updated value to assign
- i
-
the index of the element to update
Attributes
Inherited methods
Attributes
- Inherited from:
- IterableOps
Attributes
- Definition Classes
-
SeqOps -> IterableOps
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- PartiallyOrdered
Attributes
- Inherited from:
- PartiallyOrdered
Attributes
- Inherited from:
- PartiallyOrdered
Attributes
- Inherited from:
- PartiallyOrdered
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- PartialFunction
Attributes
- Definition Classes
-
PartialFunction -> Function1
- Inherited from:
- PartialFunction
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- PartialFunction
Attributes
- Inherited from:
- Seq
Create a copy of the receiver object.
Create a copy of the receiver object.
The default implementation of the clone
method is platform dependent.
Attributes
- Returns
-
a copy of the receiver object.
- Note
-
not specified by SLS as a member of AnyRef
- Definition Classes
-
SeqOps -> Cloneable -> Object
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- PartialFunction
Attributes
- Inherited from:
- Function1
Attributes
- Definition Classes
-
SeqOps -> IterableOps
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Definition Classes
-
IndexedSeqOps -> IterableOps -> IterableOnceOps
- Inherited from:
- IndexedSeqOps
Attributes
- Definition Classes
-
IndexedSeqOps -> IterableOps
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- PartialFunction
Attributes
- Definition Classes
-
IterableFactoryDefaults -> IterableOps
- Inherited from:
- IterableFactoryDefaults
Attributes
- Inherited from:
- SeqOps
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Any implementation of this method should be an equivalence relation:
- It is reflexive: for any instance
x
of typeAny
,x.equals(x)
should returntrue
. - It is symmetric: for any instances
x
andy
of typeAny
,x.equals(y)
should returntrue
if and only ify.equals(x)
returnstrue
. - It is transitive: for any instances
x
,y
, andz
of typeAny
ifx.equals(y)
returnstrue
andy.equals(z)
returnstrue
, thenx.equals(z)
should returntrue
.
If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode
to ensure that objects which are "equal" (o1.equals(o2)
returns true
) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)
).
Value parameters
- that
-
the object to compare against this object for equality.
Attributes
- Returns
-
true
if the receiver object is equivalent to the argument;false
otherwise. - Definition Classes
-
Seq -> Equals -> Any
- Inherited from:
- Seq
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Definition Classes
-
IndexedSeqOps -> IterableOnceOps
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableFactoryDefaults
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Calculates a hash code value for the object.
Calculates a hash code value for the object.
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)
) yet not be equal (o1.equals(o2)
returns false
). A degenerate implementation could always return 0
. However, it is required that if two objects are equal (o1.equals(o2)
returns true
) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)
). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals
method.
Attributes
- Returns
-
the hash code value for this object.
- Definition Classes
-
Seq -> Any
- Inherited from:
- Seq
Attributes
- Definition Classes
-
IndexedSeqOps -> IterableOps
- Inherited from:
- IndexedSeqOps
Attributes
- Definition Classes
-
IndexedSeqOps -> IterableOps
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Definition Classes
-
SeqOps -> IterableOnceOps
- Inherited from:
- SeqOps
Attributes
- Definition Classes
-
IterableOps -> IterableOnceOps
- Inherited from:
- IterableOps
Attributes
- Definition Classes
-
IndexedSeq -> IndexedSeq -> Seq -> Seq -> Iterable -> Iterable -> IterableOps
- Inherited from:
- IndexedSeq
Attributes
- Inherited from:
- IndexedSeqOps
Attributes
- Definition Classes
-
IndexedSeqOps -> IterableOnce
- Inherited from:
- IndexedSeqOps
Attributes
- Definition Classes
-
IndexedSeqOps -> IterableOps
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- Iterable
Attributes
- Definition Classes
-
IndexedSeqOps -> SeqOps
- Inherited from:
- IndexedSeqOps
Attributes
- Definition Classes
-
IndexedSeqOps -> SeqOps
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- PartialFunction
Attributes
- Definition Classes
-
IndexedSeqOps -> IterableOps -> IterableOnceOps
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableFactoryDefaults
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- PartialFunction
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Definition Classes
-
IndexedSeqOps -> SeqOps
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Definition Classes
-
IndexedSeqOps -> SeqOps
- Inherited from:
- IndexedSeqOps
Attributes
- Definition Classes
-
IndexedSeqOps -> IterableOnceOps
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- PartialFunction
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- Cloneable
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Definition Classes
-
IndexedSeqOps -> SeqOps
- Inherited from:
- IndexedSeqOps
Attributes
- Definition Classes
-
IndexedSeqOps -> SeqOps
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Definition Classes
-
SeqOps -> IterableOnceOps
- Inherited from:
- SeqOps
Attributes
- Definition Classes
-
SeqOps -> IterableOps
- Inherited from:
- SeqOps
Attributes
- Definition Classes
-
SeqOps -> IterableOps
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Definition Classes
-
IndexedSeqOps -> IterableOps -> IterableOnceOps
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Definition Classes
-
IterableOps -> IterableOnceOps
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Definition Classes
-
IndexedSeqOps -> IterableOnce
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Definition Classes
-
IndexedSeqOps -> IterableOps -> IterableOnceOps
- Inherited from:
- IndexedSeqOps
Attributes
- Definition Classes
-
IndexedSeqOps -> IterableOps
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Definition Classes
-
IterableOps -> IterableOnceOps
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- PartialFunction
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Definition Classes
-
IndexedSeqOps -> SeqOps -> IterableOps
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Deprecated and Inherited methods
Attributes
- Deprecated
-
[Since version 2.13.0]
Use foldLeft instead of /: - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use foldRight instead of :\\ - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
`aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead. - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use iterableFactory instead - Inherited from:
- IterableOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use `dest ++= coll` instead - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details) - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use segmentLength instead of prefixLength - Inherited from:
- SeqOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use coll instead of repr in a collection implementation, use the collection value itself from the outside - Inherited from:
- IterableOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use .reverseIterator.map(f).to(...) instead of .reverseMap(f) - Inherited from:
- SeqOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Iterable.seq always returns the iterable itself - Inherited from:
- Iterable
Attributes
- Deprecated
-
[Since version 2.13.7]
toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections - Inherited from:
- Iterable
Attributes
- Deprecated
-
[Since version 2.13.0]
Use .iterator instead of .toIterator - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use .to(LazyList) instead of .toStream - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections - Inherited from:
- IterableOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use `mapInPlace` on an `IndexedSeq` instead - Inherited from:
- SeqOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use `concat` instead - Inherited from:
- SeqOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use .view.slice(from, until) instead of .view(from, until) - Definition Classes
-
IndexedSeqOps -> IterableOps
- Inherited from:
- IndexedSeqOps