public class Agent$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Agent$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
Agent$() |
Modifier and Type | Method and Description |
---|---|
<T> Agent<T> |
apply(T initialValue,
scala.concurrent.ExecutionContext context)
Factory method for creating an Agent.
|
<T> Agent<T> |
create(T initialValue,
scala.concurrent.ExecutionContext context)
Java API: Factory method for creating an Agent.
|
public static final Agent$ MODULE$
public <T> Agent<T> apply(T initialValue, scala.concurrent.ExecutionContext context)
initialValue
- (undocumented)context
- (undocumented)public <T> Agent<T> create(T initialValue, scala.concurrent.ExecutionContext context)
initialValue
- (undocumented)context
- (undocumented)