Class AdjustedPosition

All Implemented Interfaces:

public class AdjustedPosition extends Object implements
Describes a tree position with adjustments to the start and end indices.
  • Field Details

    • position

      protected final position
    • startPositionAdjustment

      protected final int startPositionAdjustment
    • endPositionAdjustment

      protected final int endPositionAdjustment
  • Constructor Details

    • AdjustedPosition

      public AdjustedPosition( position, int startPosAdjustment, int endPosAdjustment)
  • Method Details

    • getStartPosition

      public int getStartPosition()
      Specified by:
      getStartPosition in interface
    • getTree

      public getTree()
      Specified by:
      getTree in interface
    • getPreferredPosition

      public int getPreferredPosition()
      Specified by:
      getPreferredPosition in interface
    • getEndPosition

      public int getEndPosition( endPositions)
      Specified by:
      getEndPosition in interface