com.frameworkset.platform.framework.ModuleQueue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pdp-system Show documentation
Show all versions of pdp-system Show documentation
bboss public development platform base on bboss.
package com.frameworkset.platform.framework;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/**
* Title:
*
* Description:
*
* Copyright: Copyright (c) 2006
*
* Company: bbossgroups
*
* @author biaoping.yin
* @version 1.0
*/
public class ModuleQueue {
private List modules = new ArrayList();
public void addModule(Module module)
{
this.modules.add(module);
}
public Module getModule(int i)
{
return (Module)this.modules.get(i);
}
public int size()
{
return this.modules.size();
}
public Iterator iterator()
{
return this.modules.iterator();
}
public void clear()
{
this.modules.clear();
}
public List getList()
{
return this.modules;
}
}