public static boolean haveSameSpan ( final Annotation anno1 , final Annotation anno2 ) { return anno1 . getBegin ( ) == anno2 . getBegin ( ) && anno1 . getEnd ( ) == anno2 . getEnd ( ) ; }
Returns whether two annotations share the same span