Class PushbackTokenizer.Range

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private long end  
      private long start  
    • Constructor Summary

      Constructors 
      Constructor Description
      Range​(long start, long end)
      Create a new range
    • Method Summary

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • start

        private final long start
      • end

        private final long end
    • Constructor Detail

      • Range

        public Range​(long start,
                     long end)
        Create a new range
        Parameters:
        start - The start
        end - The end (inclusive)
    • Method Detail

      • getStart

        public long getStart()
        Returns the range start.
        Returns:
        The start
      • getEnd

        public long getEnd()
        Returns the range end.
        Returns:
        The end (inclusive)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object