From d23d0a9c737c6350b3f00a555a3ec61fff8d92dc Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 30 Oct 2003 14:59:42 +0000 Subject: *** empty log message *** --- sources/examples/auction.scala | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sources/examples/auction.scala') 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 { -- cgit v1.2.3