Package sc.parser

Class OffsetToLineIndex


  • public class OffsetToLineIndex
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      OffsetToLineIndex​(java.lang.CharSequence chars)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getLineForOffset​(int offset)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OffsetToLineIndex

        public OffsetToLineIndex​(java.lang.CharSequence chars)
    • Method Detail

      • getLineForOffset

        public int getLineForOffset​(int offset)