diff options
author | Martin Odersky <odersky@gmail.com> | 2003-10-30 14:59:42 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2003-10-30 14:59:42 +0000 |
commit | d23d0a9c737c6350b3f00a555a3ec61fff8d92dc (patch) | |
tree | 7c6a3649edf42fceb39087c97eeae9f760a8503f /sources/examples | |
parent | 4764fc555502237fc7f423af4200520a975a69fd (diff) | |
download | scala-d23d0a9c737c6350b3f00a555a3ec61fff8d92dc.tar.gz scala-d23d0a9c737c6350b3f00a555a3ec61fff8d92dc.tar.bz2 scala-d23d0a9c737c6350b3f00a555a3ec61fff8d92dc.zip |
*** empty log message ***
Diffstat (limited to 'sources/examples')
-rw-r--r-- | sources/examples/auction.scala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sources/examples/auction.scala b/sources/examples/auction.scala index 8e32831942..ecf121ef7d 100644 --- a/sources/examples/auction.scala +++ b/sources/examples/auction.scala @@ -3,6 +3,10 @@ package examples; import java.util.Date; import scala.concurrent._; +/** A simple demonstrator program implementing an online auction service + * The example uses the actor abstraction defined in the API of + * package scala.concurrent. + */ trait AuctionMessage; case class Offer(bid: int, client: Actor), // make a bid @@ -62,7 +66,7 @@ class Auction(seller: Actor, minBid: int, closing: Date) extends Actor { } } -////////////////////////// TEST ///////////////////////////////// +// ---- Test ------------------------------------------------------------- object testAuction { |