public int span ( CharSequence s , int start , SpanCondition spanCondition ) { if ( spanCondition == SpanCondition . NOT_CONTAINED ) { return spanNot ( s , start , null ) ; } int spanLimit = spanSet . span ( s , start , SpanCondition . CONTAINED ) ; if ( spanLimit == s . length ( ) ) { return spanLimit ; } return spanWithStrings ( s , start , spanLimit , spanCondition ) ; }
Spans a string .