public class DefaultTextRange extends Object implements TextRange
Constructor and Description |
---|
DefaultTextRange(TextPointer start,
TextPointer end) |
Modifier and Type | Method and Description |
---|---|
TextPointer |
end()
End position of the range
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
overlap(TextRange another)
Test if the current range has some common area with another range.
|
TextPointer |
start()
Start position of the range
|
String |
toString() |
public DefaultTextRange(TextPointer start, TextPointer end)
public TextPointer start()
TextRange
public TextPointer end()
TextRange
public boolean overlap(TextRange another)
TextRange
Copyright © 2009–2016 SonarSource. All rights reserved.