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

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

import com.softicar.platform.common.container.matrix.IMatrixTraits;

/**
 * Default {@link IMatrixTraits} for {@link Boolean}.
 * 

* The default value is false and adding two boolean values uses the * boolean OR operation. * * @author Alexander Schmidt * @author Oliver Richers */ public class BooleanMatrixTraits implements IMatrixTraits { @Override public Boolean getDefaultValue() { return false; } @Override public Boolean plus(Boolean q1, Boolean q2) { return q1 || q2; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy