org.apache.poi.hssf.record.formula.eval
Class UnaryMinusEval

java.lang.Object
  extended by org.apache.poi.hssf.record.formula.eval.UnaryMinusEval
All Implemented Interfaces:
Eval, OperationEval

public final class UnaryMinusEval
extends java.lang.Object
implements OperationEval

Author:
Amol S. Deshmukh < amolweb at ya hoo dot com >

Field Summary
static OperationEval instance
           
 
Method Summary
 Eval evaluate(Eval[] args, int srcRow, short srcCol)
           
 int getNumberOfOperands()
           
 int getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final OperationEval instance
Method Detail

evaluate

public Eval evaluate(Eval[] args,
                     int srcRow,
                     short srcCol)
Specified by:
evaluate in interface OperationEval

getNumberOfOperands

public int getNumberOfOperands()
Specified by:
getNumberOfOperands in interface OperationEval

getType

public final int getType()
Specified by:
getType in interface OperationEval


Copyright 2008 The Apache Software Foundation or its licensors, as applicable.