trait SeqMonoTransforms[+A, +Repr] extends IterableMonoTransforms[A, Repr]
Type-preserving transforms over sequences.
- Alphabetic
- By Inheritance
- SeqMonoTransforms
- IterableMonoTransforms
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
coll: Iterable[A]
- Attributes
- protected
- Definition Classes
- IterableMonoTransforms
-
abstract
def
fromIterableWithSameElemType(coll: Iterable[A]): Repr
- Attributes
- protected[this]
- Definition Classes
- IterableMonoTransforms
-
abstract
def
getClass(): Class[_]
- Definition Classes
- Any
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
drop(n: Int): Repr
The rest of the collection without its
nfirst elements.The rest of the collection without its
nfirst elements. For linear, immutable collections this should avoid making a copy.- Definition Classes
- IterableMonoTransforms
-
def
equals(arg0: Any): Boolean
- Definition Classes
- Any
-
def
filter(p: (A) ⇒ Boolean): Repr
All elements satisfying predicate
pAll elements satisfying predicate
p- Definition Classes
- IterableMonoTransforms
-
def
hashCode(): Int
- Definition Classes
- Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
partition(p: (A) ⇒ Boolean): (Repr, Repr)
A pair of, first, all elements that satisfy prediacte
pand, second, all elements that do not.A pair of, first, all elements that satisfy prediacte
pand, second, all elements that do not. Interesting because it splits a collection in two.The default implementation provided here needs to traverse the collection twice. Strict collections have an overridden version of
partitioninBuildable, which requires only a single traversal.- Definition Classes
- IterableMonoTransforms
- def reverse: Repr
-
def
tail: Repr
The rest of the collection without its first element.
The rest of the collection without its first element.
- Definition Classes
- IterableMonoTransforms
-
def
take(n: Int): Repr
A collection containing the first
nelements of this collection.A collection containing the first
nelements of this collection.- Definition Classes
- IterableMonoTransforms
-
def
toString(): String
- Definition Classes
- Any