2017-03-23 13:30:41 +00:00
|
|
|
package com.bytezone.diskbrowser.visicalc;
|
|
|
|
|
2020-02-10 11:05:40 +00:00
|
|
|
// -----------------------------------------------------------------------------------//
|
|
|
|
class ConditionListFunction extends Function
|
|
|
|
// -----------------------------------------------------------------------------------//
|
2017-03-23 13:30:41 +00:00
|
|
|
{
|
|
|
|
protected final ConditionList conditions;
|
|
|
|
|
2020-02-10 11:05:40 +00:00
|
|
|
// ---------------------------------------------------------------------------------//
|
2017-03-23 13:30:41 +00:00
|
|
|
ConditionListFunction (Cell cell, String text)
|
2020-02-10 11:05:40 +00:00
|
|
|
// ---------------------------------------------------------------------------------//
|
2017-03-23 13:30:41 +00:00
|
|
|
{
|
|
|
|
super (cell, text);
|
|
|
|
|
|
|
|
conditions = new ConditionList (cell, functionText);
|
2017-03-25 08:02:02 +00:00
|
|
|
for (Value condition : conditions)
|
|
|
|
values.add (condition);
|
|
|
|
|
2017-03-23 13:30:41 +00:00
|
|
|
valueType = ValueType.BOOLEAN;
|
|
|
|
}
|
|
|
|
|
2020-02-10 11:05:40 +00:00
|
|
|
// ---------------------------------------------------------------------------------//
|
2017-03-23 13:30:41 +00:00
|
|
|
@Override
|
|
|
|
public String getType ()
|
2020-02-10 11:05:40 +00:00
|
|
|
// ---------------------------------------------------------------------------------//
|
2017-03-23 13:30:41 +00:00
|
|
|
{
|
2017-03-25 08:02:02 +00:00
|
|
|
return "CLF";
|
2017-03-23 13:30:41 +00:00
|
|
|
}
|
|
|
|
}
|