Scala Library
|
|
scala/Stream.scala
]
trait
Definite[+A]
extends
Stream[A] with
() => Stream[A]Method Summary | |
override def
|
apply : Definite[A] |
override def
|
hasDefiniteSize
: Boolean
returns true iff this collection has a bound size.
Many APIs in this trait will not work on collections of
unbound sizes.
|
override def
|
toString
: java.lang.String
Converts stream to string. Redefined here as
super[Stream].toString does not pass because of an implementation
restriction (super[C] cannot be called when C is a class).
|
Methods inherited from Stream | |
head (abstract), tail (abstract), addDefinedElems (abstract), force, length, lengthCompare, append, elements, init, last, apply, take, drop, takeWhile, dropWhile, map, foreach, filter, forall, exists, foldLeft, foldRight, flatMap, toStream, reverse, copyToArray, zip, zipWithIndex, print, print |
Methods inherited from Projection | |
projection |
Methods inherited from Seq | |
size, isEmpty, concat, lastOption, first, firstOption, headOption, ++, isDefinedAt, lastIndexOf, findIndexOf, indexOf, slice, slice, contains, subseq, toArray, toSeq, equalsWith, startsWith, startsWith, endsWith, indexOf, containsSlice |
Methods inherited from Collection | |
stringPrefix |
Methods inherited from Iterable | |
partition, find, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, mkString, mkString, mkString, addString, addString, addString |
Methods inherited from PartialFunction | |
orElse, andThen |
Methods inherited from Function1 | |
compose |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
override
def
hasDefiniteSize : Boolean
override
def
toString : java.lang.String
Scala Library
|
|