![JAR search and dependency download from the Maven repository](/logo.png)
io.github.vmzakharov.ecdataframe.dataframe.DfStringColumnStored Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dataframe-ec Show documentation
Show all versions of dataframe-ec Show documentation
A tabular data structure based on the Eclipse Collections framework
package io.github.vmzakharov.ecdataframe.dataframe;
import io.github.vmzakharov.ecdataframe.dsl.value.Value;
import org.eclipse.collections.api.list.ListIterable;
public class DfStringColumnStored
extends DfObjectColumnStored
implements DfStringColumn
{
public DfStringColumnStored(DataFrame owner, String newName)
{
super(owner, newName);
}
public DfStringColumnStored(DataFrame owner, String newName, ListIterable newValues)
{
super(owner, newName, newValues);
}
@Override
public void addValue(Value value)
{
if (value.isVoid())
{
this.addObject(null);
}
else if (value.isString())
{
this.addMyType(value.stringValue());
}
else
{
this.throwAddingIncompatibleValueException(value);
}
}
@Override
public void addObject(Object newObject)
{
this.addMyType((String) newObject);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy