Package org.mvel2.util
Class LineMapper.Node
- java.lang.Object
-
- org.mvel2.util.LineMapper.Node
-
- All Implemented Interfaces:
java.lang.Comparable<LineMapper.Node>
- Enclosing class:
- LineMapper
private static class LineMapper.Node extends java.lang.Object implements java.lang.Comparable<LineMapper.Node>
-
-
Field Summary
Fields Modifier and Type Field Description private int
cursorEnd
private int
cursorStart
private int
line
-
Constructor Summary
Constructors Modifier Constructor Description private
Node(int cursorStart, int cursorEnd, int line)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(LineMapper.Node node)
int
getLine()
boolean
isInRange(int cursor)
-
-
-
Method Detail
-
getLine
public int getLine()
-
isInRange
public boolean isInRange(int cursor)
-
compareTo
public int compareTo(LineMapper.Node node)
- Specified by:
compareTo
in interfacejava.lang.Comparable<LineMapper.Node>
-
-