public class PositionAndLength extends Object
Constructor and Description |
---|
PositionAndLength(int position,
int length) |
Modifier and Type | Method and Description |
---|---|
static PositionAndLength |
calculatePositionAndLength(String expression,
org.pentaho.reporting.libraries.formula.lvalues.ParsePosition position)
Determine the absolute position in the expression
|
int |
getLength() |
int |
getPosition() |
void |
setLength(int length) |
void |
setPosition(int position) |
public PositionAndLength(int position, int length)
position
- length
- public static final PositionAndLength calculatePositionAndLength(String expression, org.pentaho.reporting.libraries.formula.lvalues.ParsePosition position)
expression
- position
- public int getPosition()
public void setPosition(int position)
position
- the position to setpublic int getLength()
public void setLength(int length)
length
- the length to setCopyright © 2018 Hitachi Vantara. All rights reserved.