All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.almende.eve.state.State Maven / Gradle / Ivy

There is a newer version: 3.1.1
Show newest version
package com.almende.eve.state;

import java.io.Serializable;
import java.util.Map;

public interface State extends Map {
	public static String KEY_AGENT_TYPE = "_type"; // key name for agent type

	public boolean putIfUnchanged(String key, Serializable newVal, Serializable oldVal);
	public void init();     // executed once after the agent is instantiated
	public void destroy();  // executed once before the agent is destroyed
	public String getAgentId();
	public void setAgentType(Class agentType);
	public Class getAgentType() throws ClassNotFoundException;
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy