public boolean overlaps ( Span other ) { return other != null && this . start ( ) < other . end ( ) && this . end ( ) > other . start ( ) ; }
Returns true if the bounds of other text are connected with the bounds of this text .