Klasse LineRange

java.lang.Object
edu.hm.hafner.analysis.LineRange
Alle implementierten Schnittstellen:
Serializable

public class LineRange extends Object implements Serializable
A line range in a source file is defined by its first and last line.
Autor:
Ullrich Hafner
Siehe auch:
  • Konstruktordetails

    • LineRange

      public LineRange(int line)
      Creates a new instance of LineRange.
      Parameter:
      line - the single line of this range
    • LineRange

      public LineRange(int start, int end)
      Creates a new instance of LineRange.
      Parameter:
      start - start of the range
      end - end of the range
  • Methodendetails

    • getStart

      public int getStart()
      Returns the first line of this range.
      Gibt zurück:
      the first line of this range
    • getEnd

      public int getEnd()
      Returns the last line of this range.
      Gibt zurück:
      the last line of this range
    • equals

      public boolean equals(@CheckForNull Object obj)
      Setzt außer Kraft:
      equals in Klasse Object
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object