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

javax.constraints.scheduler.impl.BasicResourcePool Maven / Gradle / Ivy

The newest version!
package javax.constraints.scheduler.impl;

import java.util.ArrayList;

import javax.constraints.scheduler.Resource;
import javax.constraints.scheduler.ResourcePool;

public class BasicResourcePool extends ArrayList implements ResourcePool {
	
	String name;
	
	public BasicResourcePool(String name) {
		super();
		this.name = name;
	}
	
	public String getName() {
		return name;
	}
	
	public Resource get(int index) {
		return (Resource)get(index);
	}
	
	public void add(int index,Resource resource) {
		add(index,resource);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy