strawman
.
collections
.
CollectionStrawMan5
List
Related Docs:
object List
|
package CollectionStrawMan5
sealed
trait
List
[
+A
]
extends
Seq
[
A
] with
SeqLike
[
A
,
List
] with
Buildable
[
A
,
List
[
A
]]
Concrete collection type: List
Self Type
List
[
A
]
Linear Supertypes
Buildable
[
A
,
List
[
A
]],
Seq
[
A
],
SeqLike
[
A
,
List
],
SeqMonoTransforms
[
A
,
List
[
A
]],
Iterable
[
A
],
IterableLike
[
A
,
List
],
IterablePolyTransforms
[
A
,
List
],
IterableMonoTransforms
[
A
,
List
[
A
]],
IterableOps
[
A
],
FromIterable
[
List
],
IterableOnce
[
A
],
AnyRef
,
Any
Known Subclasses
Cons
,
Nil
Ordering
Alphabetic
By inheritance
Inherited
List
Buildable
Seq
SeqLike
SeqMonoTransforms
Iterable
IterableLike
IterablePolyTransforms
IterableMonoTransforms
IterableOps
FromIterable
IterableOnce
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Abstract Value Members
abstract
def
tail
:
List
[
A
]
Concrete Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
def
++
[
B >:
A
]
(
xs:
IterableOnce
[
B
]
)
:
List
[
B
]
Definition Classes
List
→
IterablePolyTransforms
def
++:
[
B >:
A
]
(
prefix:
List
[
B
]
)
:
List
[
B
]
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
apply
(
i:
Int
)
:
A
Definition Classes
List
→
Seq
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
coll
:
Iterable
[
A
]
Attributes
protected
Definition Classes
Iterable
→
IterablePolyTransforms
→
IterableMonoTransforms
final
def
drop
(
n:
Int
)
:
List
[
A
]
Definition Classes
List
→
IterableMonoTransforms
Annotations
@tailrec
()
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
filter
(
p: (
A
) ⇒
Boolean
)
:
List
[
A
]
Definition Classes
IterableMonoTransforms
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
flatMap
[
B
]
(
f: (
A
) ⇒
IterableOnce
[
B
]
)
:
List
[
B
]
Definition Classes
IterablePolyTransforms
def
foldLeft
[
B
]
(
z:
B
)
(
op: (
B
,
A
) ⇒
B
)
:
B
Definition Classes
IterableOps
def
foldRight
[
B
]
(
z:
B
)
(
op: (
A
,
B
) ⇒
B
)
:
B
Definition Classes
IterableOps
def
foreach
(
f: (
A
) ⇒
Unit
)
:
Unit
Definition Classes
IterableOps
def
fromIterable
[
B
]
(
c:
Iterable
[
B
]
)
:
List
[
B
]
Definition Classes
List
→
IterablePolyTransforms
→
FromIterable
def
fromLikeIterable
(
coll:
Iterable
[
A
]
)
:
List
[
A
]
Attributes
protected[this]
Definition Classes
IterableLike
→
IterableMonoTransforms
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
head
:
A
Definition Classes
IterableOps
def
indexWhere
(
p: (
A
) ⇒
Boolean
)
:
Int
Definition Classes
IterableOps
def
isEmpty
:
Boolean
Definition Classes
IterableOps
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
iterator
:
Iterator
[
A
]
Definition Classes
List
→
IterableOps
→
IterableOnce
def
knownLength
:
Int
Definition Classes
Iterable
def
length
:
Int
Definition Classes
List
→
Seq
def
map
[
B
]
(
f: (
A
) ⇒
B
)
:
List
[
B
]
Definition Classes
IterablePolyTransforms
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
newBuilder
:
ListBuffer
[
A
]
Attributes
protected[this]
Definition Classes
List
→
Buildable
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
partition
(
p: (
A
) ⇒
Boolean
)
: (
List
[
A
],
List
[
A
])
Definition Classes
Buildable
→
IterableMonoTransforms
def
reverse
:
List
[
A
]
Definition Classes
SeqMonoTransforms
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
to
[
C
[
X
]
<:
Iterable
[
X
]
]
(
fi:
FromIterable
[
C
]
)
:
C
[
A
]
Definition Classes
IterableMonoTransforms
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
view
:
View
[
A
]
Definition Classes
IterableOps
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
zip
[
B
]
(
xs:
IterableOnce
[
B
]
)
:
List
[(
A
,
B
)]
Definition Classes
IterablePolyTransforms
Inherited from
Buildable
[
A
,
List
[
A
]]
Inherited from
Seq
[
A
]
Inherited from
SeqLike
[
A
,
List
]
Inherited from
SeqMonoTransforms
[
A
,
List
[
A
]]
Inherited from
Iterable
[
A
]
Inherited from
IterableLike
[
A
,
List
]
Inherited from
IterablePolyTransforms
[
A
,
List
]
Inherited from
IterableMonoTransforms
[
A
,
List
[
A
]]
Inherited from
IterableOps
[
A
]
Inherited from
FromIterable
[
List
]
Inherited from
IterableOnce
[
A
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped
Concrete collection type: List