Package org.apache.poi.ss.formula.eval
Class RefEvalBase
java.lang.Object
org.apache.poi.ss.formula.eval.RefEvalBase
- All Implemented Interfaces:
RefEval,ValueEval,SheetRange
- Direct Known Subclasses:
LazyRefEval
Common base class for implementors of
RefEval-
Method Summary
Modifier and TypeMethodDescriptionfinal intreturns the zero based column index.intreturns the first sheet index this applies tointreturns the last sheet index this applies to, which will be the same as the first for a 2D and many 3D referencesintreturns the number of sheets this applies tofinal intgetRow()returns the zero based row index.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.poi.ss.formula.eval.RefEval
getInnerValueEval, offset
-
Method Details
-
getNumberOfSheets
public int getNumberOfSheets()Description copied from interface:RefEvalreturns the number of sheets this applies to- Specified by:
getNumberOfSheetsin interfaceRefEval
-
getFirstSheetIndex
public int getFirstSheetIndex()Description copied from interface:RefEvalreturns the first sheet index this applies to- Specified by:
getFirstSheetIndexin interfaceRefEval- Specified by:
getFirstSheetIndexin interfaceSheetRange
-
getLastSheetIndex
public int getLastSheetIndex()Description copied from interface:RefEvalreturns the last sheet index this applies to, which will be the same as the first for a 2D and many 3D references- Specified by:
getLastSheetIndexin interfaceRefEval- Specified by:
getLastSheetIndexin interfaceSheetRange
-
getRow
public final int getRow()Description copied from interface:RefEvalreturns the zero based row index. -
getColumn
public final int getColumn()Description copied from interface:RefEvalreturns the zero based column index.
-