|
Scala
1.2.0.1 |
|||
Method Summary | |
final
|
def head: All
Returns this first element of the list. |
final
|
def isEmpty: Boolean
Returns true if the list does not contain any elements. |
final
|
def tail: List[All]
Returns this list without its first element. |
Method Detail |
final def isEmpty: Boolean
final def head: All
java.lang.RuntimeException
if the list is empty.
final def tail: List[All]
java.lang.RuntimeException
if the list is empty.
|
Scala
1.2.0.1 |
|||