Package org.sonar.api.batch.fs.internal
Class DefaultTextRange
java.lang.Object
org.sonar.api.batch.fs.internal.DefaultTextRange
- All Implemented Interfaces:
org.sonar.api.batch.fs.TextRange
- Since:
- 5.2
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultTextRange
(org.sonar.api.batch.fs.TextPointer start, org.sonar.api.batch.fs.TextPointer end) -
Method Summary
-
Constructor Details
-
DefaultTextRange
public DefaultTextRange(org.sonar.api.batch.fs.TextPointer start, org.sonar.api.batch.fs.TextPointer end)
-
-
Method Details
-
start
public org.sonar.api.batch.fs.TextPointer start()- Specified by:
start
in interfaceorg.sonar.api.batch.fs.TextRange
-
end
public org.sonar.api.batch.fs.TextPointer end()- Specified by:
end
in interfaceorg.sonar.api.batch.fs.TextRange
-
overlap
public boolean overlap(org.sonar.api.batch.fs.TextRange another) - Specified by:
overlap
in interfaceorg.sonar.api.batch.fs.TextRange
-
toString
-
equals
-
hashCode
public int hashCode()
-