mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-06-27 23:29:37 +00:00
23 lines
462 B
Java
23 lines
462 B
Java
package com.bytezone.diskbrowser.visicalc;
|
|
|
|
interface Value
|
|
{
|
|
enum ValueType
|
|
{
|
|
VALUE, ERROR, NA
|
|
}
|
|
|
|
public double getValue (); // if ValueType == VALUE
|
|
|
|
public String getText (); // if ValueType != VALUE
|
|
|
|
public boolean isValueType (ValueType valueType);
|
|
|
|
public ValueType getValueType ();
|
|
|
|
public void calculate ();
|
|
|
|
public String getTypeText (); // Number/Function/Expression etc
|
|
|
|
public boolean isVolatile ();
|
|
} |