final
class
ArrayOps
Decorator to add collection operations to arrays.
Members
val
xs
: Array
def
++
(
xs:
IterableOnce
[
B
]
)
(
implicit
evidence$11:
ClassTag
[
B
]
)
: Array
def
apply
(
i:
Int
)
: A
override
def
className
: String
The class name of this collection. To be used for converting to string. Collections generally print like this:
<className>(elem_1, ..., elem_n)
protected
def
coll
: Iterable
def
elemTag
: ClassTag
def
flatMap
(
f:
A => IterableOnce
[
B
]
)
(
implicit
evidence$10:
ClassTag
[
B
]
)
: Array
def
fromIterable
(
coll:
Iterable
[
B
]
)
(
implicit
evidence$8:
ClassTag
[
B
]
)
: Array
protected
def
fromIterableWithSameElemType
(
coll:
Iterable
[
A
]
)
: Array
def
iterator
: Iterator
override
def
knownSize
: Int
The number of elements in this collection, if it can be cheaply computed, -1 otherwise. Cheaply usually means: Not requiring a collection traversal.
def
length
: Int
def
map
(
f:
A => B
)
(
implicit
evidence$9:
ClassTag
[
B
]
)
: Array
protected
def
newBuilder
: Builder
Creates a new builder.
override
def
view
: View
A view representing the elements of this collection.
def
zip
(
xs:
IterableOnce
[
B
]
)
(
implicit
evidence$12:
ClassTag
[
B
]
)
: Array