Java Reference
In-Depth Information
possibly ellipses either within a sentence …, or at the end
of a sentence…]
There are a number of other
Span
methods that can be valuable. These are listed in the
following table:
Method
Meaning
An overloaded method that determines whether another
Span
object or index is contained with the target
contains
crosses
Determines whether two spans overlap
length
The length of the span
startsWith
Determines whether the span starts the target span