mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-06-29 21:29:36 +00:00
26 lines
523 B
Java
26 lines
523 B
Java
|
package com.bytezone.diskbrowser.visicalc;
|
||
|
|
||
|
public class Choose extends Function
|
||
|
{
|
||
|
protected final Range range;
|
||
|
String sourceText;
|
||
|
String rangeText;
|
||
|
Number source;
|
||
|
|
||
|
Choose (Sheet parent, String text)
|
||
|
{
|
||
|
super (parent, text);
|
||
|
|
||
|
int pos = text.indexOf (',');
|
||
|
sourceText = text.substring (8, pos);
|
||
|
rangeText = text.substring (pos + 1, text.length () - 1);
|
||
|
range = new Range (rangeText);
|
||
|
source = new Number (sourceText);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public Value calculate ()
|
||
|
{
|
||
|
return null;
|
||
|
}
|
||
|
}
|