trait Buildable[+A, +Repr] extends IterableMonoTransforms[A, Repr]
Base trait for strict collections that can be built using a builder.
- A
the element type of the collection
- Repr
the type of the underlying collection
- Alphabetic
- By Inheritance
- Buildable
- IterableMonoTransforms
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
coll: collection.Iterable[A]
- Attributes
- protected
- Definition Classes
- IterableMonoTransforms
-
abstract
def
fromIterableWithSameElemType(coll: collection.Iterable[A]): Repr
- Attributes
- protected[this]
- Definition Classes
- IterableMonoTransforms
-
abstract
def
getClass(): Class[_]
- Definition Classes
- Any
-
abstract
def
newBuilder: Builder[A, Repr]
Creates a new builder.
Creates a new builder.
- Attributes
- protected[this]
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)
Optimized, push-based version of
partition.Optimized, push-based version of
partition.- Definition Classes
- Buildable → IterableMonoTransforms
-
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