com.meliorbis.economics.utils.ConsoleProgressDemo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ModelSolver Show documentation
Show all versions of ModelSolver Show documentation
A library for solving economic models, particularly
macroeconomic models with heterogeneous agents who have model-consistent
expectations
/**
*
*/
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