dmolony-DiskBrowser/src/com/bytezone/diskbrowser/visicalc/False.java
2017-03-20 12:45:18 +11:00

26 lines
406 B
Java

package com.bytezone.diskbrowser.visicalc;
public class False extends ConstantFunction
{
False (Cell cell, String text)
{
super (cell, text);
assert text.equals ("@FALSE") : text;
value = 0;
valueType = ValueType.VALUE;
}
@Override
public boolean isBoolean ()
{
return true;
}
@Override
public String getText ()
{
return value == 0 ? "FALSE" : "TRUE";
}
}