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

jadex.micro.helloworld.LambdaHelloWorld Maven / Gradle / Ivy

The newest version!
package jadex.micro.helloworld;

import jadex.core.IComponent;

/**
 *  The micro version of the hello world agent.
 */
public class LambdaHelloWorld
{
	/**
	 *  Start the example.
	 */
	public static void main(String[] args)
	{
		System.out.println(IComponent.run(agent -> "Hello World from lambda agent: "+agent.getId()).get());
		IComponent.waitForLastComponentTerminated();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy