Class FormattedSourceCorrespondence.LineNumberRange
- java.lang.Object
-
- com.ensoftcorp.open.commons.utilities.FormattedSourceCorrespondence.LineNumberRange
-
- All Implemented Interfaces:
java.lang.Comparable<FormattedSourceCorrespondence.LineNumberRange>
- Enclosing class:
- FormattedSourceCorrespondence
public static class FormattedSourceCorrespondence.LineNumberRange extends java.lang.Object implements java.lang.Comparable<FormattedSourceCorrespondence.LineNumberRange>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(FormattedSourceCorrespondence.LineNumberRange other)
boolean
equals(java.lang.Object obj)
int
getEnd()
int
getStart()
void
growBackwardsOne()
void
growBackwardsToStart(int newStart)
int
hashCode()
boolean
isSingle()
java.lang.String
toString()
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
growBackwardsToStart
public void growBackwardsToStart(int newStart)
-
getEnd
public int getEnd()
-
getStart
public int getStart()
-
isSingle
public boolean isSingle()
-
growBackwardsOne
public void growBackwardsOne()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
compareTo
public int compareTo(FormattedSourceCorrespondence.LineNumberRange other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<FormattedSourceCorrespondence.LineNumberRange>
-
-