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

com.meliorbis.economics.utils.ConsoleProgressDemo Maven / Gradle / Ivy

Go to download

A library for solving economic models, particularly macroeconomic models with heterogeneous agents who have model-consistent expectations

There is a newer version: 1.1
Show newest version
/**
 * 
 */
package com.meliorbis.economics.utils;

/**
 * @author toby
 *
 */
public class ConsoleProgressDemo
{

	public static void main(String[] args)
	{
		ConsoleProgressDisplay consoleProgressDisplay = new ConsoleProgressDisplay();
		
		for(int i = 0; i<3134;i++)
		{
			synchronized(consoleProgressDisplay)
			{
				try
				{
					consoleProgressDisplay.wait(5);
				} catch (InterruptedException e)
				{
				}
				
				consoleProgressDisplay.nextStep();
			}
		}
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy