|
Scala 2
|
||
class
History
[ A , B ]
extends
java.lang.Object with
Subscriber with
Iterable with
ScalaObjectHistory[A, B]
objects may subscribe to events of
type A
published by an object of type B
.
The history subscriber object records all published events
up to maximum number of maxHistory
events.Constructor Summary | |
def
this
|
Def Summary | |
def
clear
: scala.Unit
|
|
def
elements
: Iterator
|
|
def
events
: Iterator
|
|
def
notify
( pub : B , event : A )
: scala.Unit
|
|
def
size
: scala.Int
|
Constructor Detail |
def
this
Def Detail |
def
clear
: scala.Unit
def
elements
: Iterator
def
events
: Iterator
def
notify
( pub : B , event : A ) : scala.Unit
def
size
: scala.Int