javax.constraints.scheduler.impl.BasicResourceDisjunctivePool Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsr331-scheduler Show documentation
Show all versions of jsr331-scheduler Show documentation
This is a JSR331 package for scheduling and resource allocation problems
The newest version!
package javax.constraints.scheduler.impl;
import javax.constraints.scheduler.ResourceDisjunctive;
import javax.constraints.scheduler.ResourceDisjunctivePool;
public class BasicResourceDisjunctivePool extends BasicResourcePool implements ResourceDisjunctivePool {
public BasicResourceDisjunctivePool(String name) {
super(name);
}
public ResourceDisjunctive get(int index) {
return (ResourceDisjunctive)get(index);
}
public void add(int index,ResourceDisjunctive resource) {
add(index,resource);
}
}