com.softicar.platform.common.container.matrix.traits.StringMatrixTraits 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 String}.
*
* The default value is the empty string and adding concatenates the strings.
*
* @author Oliver Richers
*/
public class StringMatrixTraits implements IMatrixTraits {
@Override
public String getDefaultValue() {
return "";
}
@Override
public String plus(String a, String b) {
return a + b;
}
}