Added Function and Procedure (Java API) + added them to Agent, closing #262

This commit is contained in:
Viktor Klang 2010-09-06 15:41:48 +02:00
parent 5521c32b0b
commit 99ebdcb719
2 changed files with 53 additions and 1 deletions

View file

@ -0,0 +1,9 @@
package se.scalablesolutions.akka.util
trait Function[T,R] {
def apply(param: T): R
}
trait Procedure[T] {
def apply(param: T): Unit
}