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

com.softicar.platform.common.container.schedule.coverage.ScheduleCoverageTraits 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.IMatrixTraits;
import com.softicar.platform.common.math.arithmetic.IArithmetic;

public class ScheduleCoverageTraits> implements IMatrixTraits> {

	private final ScheduleCoverageEntry DEFAULT_VALUE;
	private final IArithmetic arithmetic;

	public ScheduleCoverageTraits(IArithmetic arithmetic) {

		this.arithmetic = arithmetic;
		this.DEFAULT_VALUE = new ScheduleCoverageEntry<>(arithmetic);
	}

	@Override
	public ScheduleCoverageEntry getDefaultValue() {

		return DEFAULT_VALUE;
	}

	@Override
	public ScheduleCoverageEntry plus(ScheduleCoverageEntry entry1, ScheduleCoverageEntry entry2) {

		return new ScheduleCoverageEntry<>(arithmetic, entry1, entry2);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy