com.softicar.platform.common.container.matrix.traits.ObjectMatrixTraits Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.container.matrix.traits;
import com.softicar.platform.common.container.matrix.IMatrixTraits;
/**
* Simple matrix traits for {@link Object}.
*
* Objects cannot be added and the default value is null.
*
* @author Oliver Richers
*/
public class ObjectMatrixTraits implements IMatrixTraits {
@Override
public V getDefaultValue() {
return null;
}
@Override
public V plus(V valueA, V valueB) {
throw new UnsupportedOperationException();
}
}