Scala Library
|
|
trait
ProducerConsumerIterator[T >: Null]
extends
Iterator[T]Value Summary | |
abstract val
|
EndOfStream : T |
val
|
MaxQueueSize : Int |
Method Summary | |
def
|
available : Boolean |
def
|
hasNext
: Boolean
Does this iterator provide another element?
|
def
|
interruptibly [T](body : => T) : Option[T] |
def
|
next
: T
Returns the next element of this iterator.
|
def
|
produce (x : T) : Unit |
Methods inherited from Iterator | |
take, drop, slice, map, ++, flatMap, filter, filterNot, partialMap, takeWhile, partition, dropWhile, zip, padTo, zipWithIndex, zipAll, foreach, forall, exists, contains, find, indexWhere, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, reduceLeftOption, reduceRightOption, buffered, grouped, sliding, length, duplicate, patch, copyToArray, copyToArray, copyToArray, copyToBuffer, toList, toStream, toSeq, mkString, mkString, mkString, addString, addString, addString, toString, append, findIndexOf, collect, counted, readInto, readInto, readInto |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Value Details |
Method Details |
def
hasNext : Boolean
def
next : T
def
available : Boolean
Scala Library
|
|