Class UIMAUtils


  • public class UIMAUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      UIMAUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean hasSameOffset​(org.apache.uima.jcas.tcas.Annotation a, org.apache.uima.jcas.tcas.Annotation b)
      check whether two annotation have exactly the same offset
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UIMAUtils

        public UIMAUtils()
    • Method Detail

      • hasSameOffset

        public static boolean hasSameOffset​(org.apache.uima.jcas.tcas.Annotation a,
                                            org.apache.uima.jcas.tcas.Annotation b)
        check whether two annotation have exactly the same offset
        Parameters:
        a - annotation 1
        b - annotation 2
        Returns:
        true or false