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

com.softicar.platform.common.container.matrix.IMatrixTraits 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.matrix;

/**
 * Interface for matrix traits that specify how the matrix works.
 * 
 * @param 
 *            the value type of the matrix
 * @author Oliver Richers
 */
public interface IMatrixTraits {

	/**
	 * Returns the default value, that should be returned by
	 * {@link IMatrix#getValue} if the value is not set.
	 * 
	 * @return the default value
	 */
	V getDefaultValue();

	/**
	 * Returns the sum of the specified values.
	 * 
	 * @return sum of valueA and valueB
	 */
	V plus(V valueA, V valueB);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy