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

com.softicar.platform.common.container.schedule.coverage.ScheduleCoverage Maven / Gradle / Ivy

Go to download

The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.

There is a newer version: 50.0.0
Show newest version
package com.softicar.platform.common.container.schedule.coverage;

import com.softicar.platform.common.container.matrix.simple.SimpleMatrix;
import com.softicar.platform.common.math.arithmetic.IArithmetic;

public class ScheduleCoverage> extends SimpleMatrix> {

	private final IArithmetic arithmetic;

	public ScheduleCoverage(IArithmetic arithmetica) {

		super(new ScheduleCoverageTraits(arithmetica));
		this.arithmetic = arithmetica;
	}

	public void addQuantity(Row row, Column sourceColumn, Column targetColumn, Quantity quantity) {

		addValue(row, sourceColumn, new ScheduleCoverageEntry<>(arithmetic, targetColumn, quantity));
	}

	public void addUnassignedQuantity(Row row, Column sourceColumn, Quantity quantity) {

		addValue(row, sourceColumn, new ScheduleCoverageEntry(arithmetic, quantity));
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy