org.prorefactor.core
Class PositionIndex

java.lang.Object
  extended by org.prorefactor.core.PositionIndex

public class PositionIndex
extends java.lang.Object

Provides an index of JPNode objects, sorted by fileIndex, line, and column.


Constructor Summary
PositionIndex()
           
 
Method Summary
 void addNode(JPNode node)
           
 JPNode getNodeFrom(int file, int line, int col)
          Get the node at a position, or the next node immediately after the position.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PositionIndex

public PositionIndex()
Method Detail

addNode

public void addNode(JPNode node)

getNodeFrom

public JPNode getNodeFrom(int file,
                          int line,
                          int col)
Get the node at a position, or the next node immediately after the position.



Copyright © 2008 Joanju Software. All Rights Reserved.