- getStart
Return the start of a span.
- getEnd
Return the end of a span. Note: that the returned index is one past the actual
end of the span in th
- <init>
Initializes a new Span object with an existing Span which is shifted by an
offset.
- getType
Retrieves the type of the span.
- spansToStrings
- getCoveredText
Retrieves the string covered by the current span of the specified text.
- contains
Returns true if the specified span is contained by this span. Identical spans
are considered to cont
- length
Returns the length of this span.
- compareTo
Compares the specified span to the current span.
- equals
Checks if the specified span is equal to the current span.
- intersects
Returns true if the specified span intersects with this span.
- toString
Generates a human readable string.