|
Scala Library
|
|
scala/collection/immutable/Stream.scala]
object
Empty
extends Stream[Nothing]| Method Summary | |
override def
|
head
: Nothing
The first element of this stream
|
override def
|
isEmpty
: Boolean
is this stream empty?
|
override def
|
tail
: Nothing
A stream consisting of the remaining elements of this stream after the first one.
|
def
|
tailDefined
: Boolean
Is the tail of this stream defined?
|
| Methods inherited from Stream | |
| companion, append, force, print, print, toStream, hasDefiniteSize, ++, ++, map, flatMap, filter, foreach, foldLeft, partition, zip, zipWithIndex, addString, mkString, mkString, mkString, toString, take, slice, init, takeRight, takeWhile, dropWhile, removeDuplicates, padTo, reverse, flatten, stringPrefix |
| Methods inherited from LinearSeqLike | |
| thisCollection, toCollection, length, apply, iterator, forall, exists, count, find, foldRight, reduceLeft, reduceRight, last, drop, dropRight, span, sameElements, lengthCompare, isDefinedAt, segmentLength, indexWhere, lastIndexWhere |
| Methods inherited from SeqLike | |
| size, prefixLength, indexWhere, findIndexOf, indexOf, indexOf, lastIndexOf, lastIndexOf, lastIndexWhere, reverseMap, reverseIterator, reversedElements, startsWith, startsWith, endsWith, indexOfSeq, indexOfSeq, lastIndexOfSeq, lastIndexOfSeq, contains, union, diff, intersect, patch, updated, +:, :+, sortWith, sortWith, sortBy, toSeq, indices, view, view, hashCode, equals, findLastIndexOf, equalsWith, containsSlice, projection |
| Methods inherited from PartialFunction | |
| orElse, andThen |
| Methods inherited from Function1 | |
| compose |
| Methods inherited from IterableLike | |
| elements, toIterable, copyToArray, zipAll, canEqual, first, firstOption |
| Methods inherited from GenericTraversableTemplate | |
| newBuilder, genericBuilder, unzip, transpose |
| Methods inherited from TraversableLike | |
| repr, nonEmpty, filterNot, partialMap, remove, groupBy, /:, :\, reduceLeftOption, reduceRightOption, sum, product, min, max, headOption, lastOption, splitAt, copyToBuffer, copyToArray, toArray, toList, toIndexedSeq, toSet, addString, addString, withFilter |
| Methods inherited from AnyRef | |
| getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Method Details |
override
def
isEmpty : Boolean
override
def
head : Nothing
override
def
tail : Nothing
def
tailDefined : Boolean
|
Scala Library
|
|