Class CharSpan


  • public class CharSpan
    extends java.lang.Object
    A class holds character span information.
    • Constructor Summary

      Constructors 
      Constructor Description
      CharSpan​(int start, int end)
      Constructs a new CharSpan instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getEnd()
      Returns the end position.
      int getStart()
      Returns the start position.
      • Methods inherited from class java.lang.Object

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

      • CharSpan

        public CharSpan​(int start,
                        int end)
        Constructs a new CharSpan instance.
        Parameters:
        start - the start position
        end - the end position
    • Method Detail

      • getStart

        public int getStart()
        Returns the start position.
        Returns:
        the start position
      • getEnd

        public int getEnd()
        Returns the end position.
        Returns:
        the end position