| Package | Description | 
|---|---|
| groovyx.gpars.agent | |
| groovyx.gpars.group | 
| Modifier and Type | Method and Description | 
|---|---|
static <T> Agent<T> | 
Agent.agent(T state)
Creates an agent instance initialized with the given state. 
 | 
static <T> Agent<T> | 
Agent.agent(T state,
     groovy.lang.Closure copy)
Creates an agent instance initialized with the given state. 
 | 
static <T> Agent<T> | 
Agent.fairAgent(T state)
Creates an agent instance initialized with the given state, which will cooperate in thread sharing with other Agent instances
 in a fair manner. 
 | 
static <T> Agent<T> | 
Agent.fairAgent(T state,
         groovy.lang.Closure copy)
Creates an agent instance initialized with the given state, which will cooperate in thread sharing with other agents and actors in a fair manner. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<T> Agent<T> | 
PGroup.agent(T state)
Creates an agent instance initialized with the given state 
 | 
<T> Agent<T> | 
PGroup.agent(T state,
     groovy.lang.Closure copy)
Creates an agent instance initialized with the given state 
 | 
<T> Agent<T> | 
PGroup.fairAgent(T state)
Creates an agent instance initialized with the given state, which will cooperate in thread sharing with other agents and actors in a fair manner. 
 | 
<T> Agent<T> | 
PGroup.fairAgent(T state,
         groovy.lang.Closure copy)
Creates an agent instance initialized with the given state, which will cooperate in thread sharing with other agents and actors in a fair manner. 
 |